lkml.org 
[lkml]   [2005]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.036 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site