]> git.karo-electronics.de Git - linux-beck.git/commit
staging: vt6656: rxtx.h always pack BEACON_BUFFER/TX_BUFFER
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 13 Aug 2013 18:47:08 +0000 (19:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2013 21:16:18 +0000 (14:16 -0700)
commit629a9e65734e7a0d1b7528529ab99f5974f6069d
tree835d86a6cf32be3db447a5c338ce35bb5dca83de
parent95b20b8b060ae9dbd4cf3de63c176935eef71837
staging: vt6656: rxtx.h always pack BEACON_BUFFER/TX_BUFFER

All structure members of BEACON_BUFFER/TX_BUFFER should be packed.

Only the first 4 members of these structures are live.

The forth member is referenced at run-time by packed structures.
typedef struct tagSTxBufHead
typedef struct tagSTxShortBufHead
in desc.h

If these structures are not packed the alignment of these members
will be wrong.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.h