WAVELAN - compile-time check for struct sizes
Convert optional struct size checks to non-optional compile-time checks. Furthermore BUILD_BUG_ON() which will be optimized away by the compiler. Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
David S. Miller

parent
eb189d8bc9
commit
60da481b98
@@ -400,7 +400,6 @@
|
||||
*/
|
||||
#undef SET_PSA_CRC /* Calculate and set the CRC on PSA (slower) */
|
||||
#define USE_PSA_CONFIG /* Use info from the PSA. */
|
||||
#undef STRUCT_CHECK /* Verify padding of structures. */
|
||||
#undef EEPROM_IS_PROTECTED /* doesn't seem to be necessary */
|
||||
#define MULTICAST_AVOID /* Avoid extra multicast (I'm sceptical). */
|
||||
#undef SET_MAC_ADDRESS /* Experimental */
|
||||
|
Reference in New Issue
Block a user