diff options
author | David Howells <dhowells@redhat.com> | 2008-07-30 19:48:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-30 19:48:05 -0400 |
commit | a7403e807d5f6431a09abb13a00f8170dac1da29 (patch) | |
tree | 9e6d5efede6e55509d4986820ae6212488f033fc /drivers/isdn/hysdn/hysdn_pof.h | |
parent | 02137f2e80a4fb1481b2b1663d3d3795e705c5bc (diff) |
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: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hysdn/hysdn_pof.h')
-rw-r--r-- | drivers/isdn/hysdn/hysdn_pof.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hysdn/hysdn_pof.h b/drivers/isdn/hysdn/hysdn_pof.h index a368d6caca0e..3a72b908900f 100644 --- a/drivers/isdn/hysdn/hysdn_pof.h +++ b/drivers/isdn/hysdn/hysdn_pof.h | |||
@@ -60,7 +60,7 @@ typedef struct PofRecHdr_tag { /* Pof record header */ | |||
60 | 60 | ||
61 | typedef struct PofTimeStamp_tag { | 61 | typedef struct PofTimeStamp_tag { |
62 | /*00 */ unsigned long UnixTime __attribute__((packed)); | 62 | /*00 */ unsigned long UnixTime __attribute__((packed)); |
63 | /*04 */ unsigned char DateTimeText[0x28] __attribute__((packed)); | 63 | /*04 */ unsigned char DateTimeText[0x28]; |
64 | /* =40 */ | 64 | /* =40 */ |
65 | /*2C */ | 65 | /*2C */ |
66 | } tPofTimeStamp; | 66 | } tPofTimeStamp; |