diff options
-rw-r--r-- | drivers/net/usb/usbnet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c index 069c1cf0fdf7..7bc9852bd57c 100644 --- a/drivers/net/usb/usbnet.c +++ b/drivers/net/usb/usbnet.c | |||
@@ -1529,9 +1529,9 @@ EXPORT_SYMBOL_GPL(usbnet_resume); | |||
1529 | 1529 | ||
1530 | static int __init usbnet_init(void) | 1530 | static int __init usbnet_init(void) |
1531 | { | 1531 | { |
1532 | /* compiler should optimize this out */ | 1532 | /* Compiler should optimize this out. */ |
1533 | BUILD_BUG_ON (sizeof (((struct sk_buff *)0)->cb) | 1533 | BUILD_BUG_ON( |
1534 | < sizeof (struct skb_data)); | 1534 | FIELD_SIZEOF(struct sk_buff, cb) < sizeof(struct skb_data)); |
1535 | 1535 | ||
1536 | random_ether_addr(node_id); | 1536 | random_ether_addr(node_id); |
1537 | return 0; | 1537 | return 0; |