sbp2: use __attribute__((packed)) for on-the-wire structures
authorBen Collins <bcollins@ubuntu.com>
Mon, 12 Jun 2006 22:14:47 +0000 (18:14 -0400)
committerBen Collins <bcollins@ubuntu.com>
Mon, 12 Jun 2006 22:14:47 +0000 (18:14 -0400)
commit05db5055b1844bf39d1429a0c43078959198cd1d
treec0848d2d8fa638987479b4146a90976e27f1964c
parentbccbccdbf8f866a8e01967a48241db548e12adf2
sbp2: use __attribute__((packed)) for on-the-wire structures

It seems to have worked without the attribute during all the years
just because sizes of all struct members are multiples of 32 bits.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
drivers/ieee1394/sbp2.h