Messages in this thread | | | Date | Sun, 6 Mar 2005 00:21:53 +0100 | From | Francois Romieu <> | Subject | Re: [patch 14/15] drivers/block/*: convert to pci_register_driver |
| |
domen@coderock.org <domen@coderock.org> : [...] > diff -puN drivers/block/umem.c~pci_register_driver-drivers_block drivers/block/umem.c > --- kj/drivers/block/umem.c~pci_register_driver-drivers_block 2005-03-05 16:12:16.000000000 +0100 > +++ kj-domen/drivers/block/umem.c 2005-03-05 16:12:16.000000000 +0100 > @@ -1185,7 +1185,7 @@ int __init mm_init(void) > > printk(KERN_INFO DRIVER_VERSION " : " DRIVER_DESC "\n"); > > - retval = pci_module_init(&mm_pci_driver); > + retval = pci_register_driver(&mm_pci_driver); > if (retval) > return -ENOMEM;
The return code is fine and does not need to be overwritten. Imho it could be considered to be part of the patch.
-- Ueimor - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |