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:
Helge Deller 2008-01-13 15:16:34 +01:00 • committed by David S. Miller
commit 60da481b98
4 changed files with 9 additions and 60 deletions