Messages in this thread | | | Subject | Re: [PATCH] isa_{read,write}{w,l} fixed | From | Francis GALIEGUE <> | Date | 12 Feb 2000 20:49:43 +0100 |
| |
Russell King <rmk@arm.linux.org.uk> writes:
> > Err, but that's not guaranteed to produce what you expect. Although GCC > (and ANSI compilers) are not allowed to re-order the elements of a > structure, they are allowed to add padding (unused bytes) between elements > of the structure. (Yes, we've encountered this before). >
If I don't miss, the __attribute__((packed)) should "take care" of this, no?
-- fg
# rm *;o o: command not found
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |