Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7403e80 authored by David Howells's avatar David Howells Committed by David S. Miller
Browse files

hysdn: remove the packed attribute from PofTimStamp_tag



Remove the packed attribute from PofTimStamp_tag in the hysdn driver as the
thing being packed is just an array of chars and so is unpackable.

This deals with a compiler warning:

In file included from drivers/isdn/hysdn/hysdn_boot.c:19:
drivers/isdn/hysdn/hysdn_pof.h:63: warning: 'packed' attribute ignored for field of type 'unsigned char[40]'

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 02137f2e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -60,7 +60,7 @@ typedef struct PofRecHdr_tag { /* Pof record header */


typedef struct PofTimeStamp_tag {
typedef struct PofTimeStamp_tag {
/*00 */ unsigned long UnixTime __attribute__((packed));
/*00 */ unsigned long UnixTime __attribute__((packed));
	/*04 */ unsigned char DateTimeText[0x28] __attribute__((packed));
	/*04 */ unsigned char DateTimeText[0x28];
	/* =40 */
	/* =40 */
/*2C */
/*2C */
} tPofTimeStamp;
} tPofTimeStamp;