starfire: use BUILD_BUG_ON for netdrv_addr_t
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 27 Aug 2010 19:08:45 +0000 (19:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Aug 2010 22:37:05 +0000 (15:37 -0700)
commit56543af9563d91c1c5596a7980b416389bdea071
treef5866654e3658607feff0cdcd53bb97970a3c29a
parentd08336e9998b1004b2baad62325d34349a593137
starfire: use BUILD_BUG_ON for netdrv_addr_t

Detect size mismatch for netdrv_addr_t at build time rather than
checking at module load time.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Ion Badulescu <ionut@badula.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/starfire.c