Netdev List
 help / color / mirror / Atom feed
* [patch 5/5] Fix a warning in ioatdma
@ 2006-06-30  9:27 akpm
  2006-07-04  2:28 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2006-06-30  9:27 UTC (permalink / raw)
  To: davem; +Cc: netdev, akpm, bboissin, benoit.boissinot, christopher.leech

From: "Benoit Boissinot" <bboissin@gmail.com>

drivers/dma/ioatdma.c: In function 'ioat_init_module':
drivers/dma/ioatdma.c:830: warning: control reaches end of non-void function

Signed-off-by: Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Cc: "Chris Leech" <christopher.leech@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 drivers/dma/ioatdma.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/dma/ioatdma.c~fix-a-warning-in-ioatdma drivers/dma/ioatdma.c
--- a/drivers/dma/ioatdma.c~fix-a-warning-in-ioatdma
+++ a/drivers/dma/ioatdma.c
@@ -826,7 +826,7 @@ static int __init ioat_init_module(void)
 	/* if forced, worst case is that rmmod hangs */
 	__unsafe(THIS_MODULE);
 
-	pci_module_init(&ioat_pci_drv);
+	return pci_module_init(&ioat_pci_drv);
 }
 
 module_init(ioat_init_module);
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-04  2:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-30  9:27 [patch 5/5] Fix a warning in ioatdma akpm
2006-07-04  2:28 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox