The patch titled drivers/usb/net/*: use BUILD_BUG_ON has been added to the -mm tree. Its filename is drivers-usb-net-use-build_bug_on.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: drivers/usb/net/*: use BUILD_BUG_ON From: Alexey Dobriyan <adobriyan@xxxxxxxxx> Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/usb/net/cdc_ether.c | 2 +- drivers/usb/net/usbnet.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/usb/net/cdc_ether.c~drivers-usb-net-use-build_bug_on drivers/usb/net/cdc_ether.c --- a/drivers/usb/net/cdc_ether.c~drivers-usb-net-use-build_bug_on +++ a/drivers/usb/net/cdc_ether.c @@ -498,7 +498,7 @@ static struct usb_driver cdc_driver = { static int __init cdc_init(void) { - BUG_ON((sizeof(((struct usbnet *)0)->data) + BUILD_BUG_ON((sizeof(((struct usbnet *)0)->data) < sizeof(struct cdc_state))); return usb_register(&cdc_driver); diff -puN drivers/usb/net/usbnet.c~drivers-usb-net-use-build_bug_on drivers/usb/net/usbnet.c --- a/drivers/usb/net/usbnet.c~drivers-usb-net-use-build_bug_on +++ a/drivers/usb/net/usbnet.c @@ -1225,7 +1225,7 @@ EXPORT_SYMBOL_GPL(usbnet_resume); static int __init usbnet_init(void) { /* compiler should optimize this out */ - BUG_ON (sizeof (((struct sk_buff *)0)->cb) + BUILD_BUG_ON (sizeof (((struct sk_buff *)0)->cb) < sizeof (struct skb_data)); random_ether_addr(node_id); _ Patches currently in -mm which might be from adobriyan@xxxxxxxxx are asus_acpi-fix-proc-files-parsing.patch asus_acpi-dont-printk-on-writing-garbage-to-proc-files.patch git-gfs2.patch config_pm=n-slim-drivers-pcmcia.patch i82092-wire-up-errors-from-pci_register_driver.patch megaraid-fix-warnings-when-config_proc_fs=n.patch scsi_libc-use-build_bug_on.patch drivers-usb-net-use-build_bug_on.patch prism54-use-builg_bug_on.patch fs-use-build_bug_on.patch md-use-build_bug_on.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html