From: akpm@osdl.org
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, akpm@osdl.org, bboissin@gmail.com,
benoit.boissinot@ens-lyon.org, christopher.leech@intel.com
Subject: [patch 5/5] Fix a warning in ioatdma
Date: Fri, 30 Jun 2006 02:27:23 -0700 [thread overview]
Message-ID: <200606300927.k5U9RN8m001468@shell0.pdx.osdl.net> (raw)
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);
_
next reply other threads:[~2006-06-30 9:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-30 9:27 akpm [this message]
2006-07-04 2:28 ` [patch 5/5] Fix a warning in ioatdma David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200606300927.k5U9RN8m001468@shell0.pdx.osdl.net \
--to=akpm@osdl.org \
--cc=bboissin@gmail.com \
--cc=benoit.boissinot@ens-lyon.org \
--cc=christopher.leech@intel.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox