Loading drivers/usb/host/xhci.c +4 −0 Original line number Diff line number Diff line Loading @@ -5068,6 +5068,10 @@ static int __init xhci_hcd_init(void) BUILD_BUG_ON(sizeof(struct xhci_intr_reg) != 8*32/8); /* xhci_run_regs has eight fields and embeds 128 xhci_intr_regs */ BUILD_BUG_ON(sizeof(struct xhci_run_regs) != (8+8*128)*32/8); if (usb_disabled()) return -ENODEV; return 0; } Loading Loading
drivers/usb/host/xhci.c +4 −0 Original line number Diff line number Diff line Loading @@ -5068,6 +5068,10 @@ static int __init xhci_hcd_init(void) BUILD_BUG_ON(sizeof(struct xhci_intr_reg) != 8*32/8); /* xhci_run_regs has eight fields and embeds 128 xhci_intr_regs */ BUILD_BUG_ON(sizeof(struct xhci_run_regs) != (8+8*128)*32/8); if (usb_disabled()) return -ENODEV; return 0; } Loading