[PATCH] slab: remove SLAB_KERNEL
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / usb / net / usbnet.c
index 327f97555679df645334d981c5ef15ed7de802ff..6e39e998825914acfaf899c5a9d77e2b13b59d31 100644 (file)
@@ -179,9 +179,9 @@ static int init_status (struct usbnet *dev, struct usb_interface *intf)
        period = max ((int) dev->status->desc.bInterval,
                (dev->udev->speed == USB_SPEED_HIGH) ? 7 : 3);
 
-       buf = kmalloc (maxp, SLAB_KERNEL);
+       buf = kmalloc (maxp, GFP_KERNEL);
        if (buf) {
-               dev->interrupt = usb_alloc_urb (0, SLAB_KERNEL);
+               dev->interrupt = usb_alloc_urb (0, GFP_KERNEL);
                if (!dev->interrupt) {
                        kfree (buf);
                        return -ENOMEM;