diff options
-rw-r--r-- | drivers/usb/host/xhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 5d7d4e951ea..8ddc965718a 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c | |||
@@ -240,7 +240,7 @@ static int xhci_setup_msix(struct xhci_hcd *xhci) | |||
240 | 240 | ||
241 | xhci->msix_entries = | 241 | xhci->msix_entries = |
242 | kmalloc((sizeof(struct msix_entry))*xhci->msix_count, | 242 | kmalloc((sizeof(struct msix_entry))*xhci->msix_count, |
243 | GFP_KERNEL); | 243 | GFP_ATOMIC); |
244 | if (!xhci->msix_entries) { | 244 | if (!xhci->msix_entries) { |
245 | xhci_err(xhci, "Failed to allocate MSI-X entries\n"); | 245 | xhci_err(xhci, "Failed to allocate MSI-X entries\n"); |
246 | return -ENOMEM; | 246 | return -ENOMEM; |