kernel/drivers/usb/storage/realtek_cr.c
.. .. @@ -35,6 +35,7 @@ 35 35 MODULE_DESCRIPTION("Driver for Realtek USB Card Reader"); 36 36 MODULE_AUTHOR("wwang <wei_wang@realsil.com.cn>"); 37 37 MODULE_LICENSE("GPL"); 38 +MODULE_IMPORT_NS(USB_STORAGE);38 39 39 40 static int auto_delink_en = 1; 40 41 module_param(auto_delink_en, int, S_IRUGO | S_IWUSR); .. .. @@ -364,7 +365,7 @@ 364 365 365 366 buf = kmalloc(len, GFP_NOIO); 366 367 if (buf == NULL) 367 - return USB_STOR_TRANSPORT_ERROR;368 + return -ENOMEM;368 369 369 370 usb_stor_dbg(us, "addr = 0x%x, len = %d\n", addr, len); 370 371