Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] Fix pragma packing in ip2 driver

This fixes the pragma packing in the ip2 driver by popping the previous
setting rather than explicitly assuming that the correct setting is 4.

This also gets around a compiler bug in the FRV compiler when building
allmodconfig.

Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

David Howells and committed by
Linus Torvalds
a020ff41 88026842

+1 -1
+1 -1
drivers/char/ip2/i2pack.h
··· 358 358 #define MB_OUT_STRIPPED 0x40 // Board has read all output from fifo 359 359 #define MB_FATAL_ERROR 0x20 // Board has encountered a fatal error 360 360 361 - #pragma pack(4) // Reset padding to command-line default 361 + #pragma pack() // Reset padding to command-line default 362 362 363 363 #endif // I2PACK_H 364 364