From: Rahul Bedarkar <rahulbedarkar89@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Matthias Beyer <mail@beyermatthias.de>,
Jade Bilkey <herself@thefumon.com>,
Lisa Nguyen <lisa@xenapiadmin.com>,
Dan Carpenter <dan.carpenter@oracle.com>,
Himangi Saraogi <himangi774@gmail.com>,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
Rahul Bedarkar <rahulbedarkar89@gmail.com>
Subject: [PATCH] staging: bcm: fix sparse warning in module_param
Date: Wed, 1 Oct 2014 22:26:01 +0530 [thread overview]
Message-ID: <1412182561-7991-1-git-send-email-rahulbedarkar89@gmail.com> (raw)
This patch fixes sparse warning in module_param
warning: pointer targets in return differ in signedness [-Wpointer-sign]
Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
---
drivers/staging/bcm/InterfaceInit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/bcm/InterfaceInit.c b/drivers/staging/bcm/InterfaceInit.c
index bb61d34..9eaffd8 100644
--- a/drivers/staging/bcm/InterfaceInit.c
+++ b/drivers/staging/bcm/InterfaceInit.c
@@ -15,7 +15,7 @@ static struct usb_device_id InterfaceUsbtable[] = {
MODULE_DEVICE_TABLE(usb, InterfaceUsbtable);
static int debug = -1;
-module_param(debug, uint, 0600);
+module_param(debug, int, 0600);
MODULE_PARM_DESC(debug, "Debug level (0=none,...,16=all)");
static const u32 default_msg =
--
1.8.3.2
reply other threads:[~2014-10-01 16:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1412182561-7991-1-git-send-email-rahulbedarkar89@gmail.com \
--to=rahulbedarkar89@gmail.com \
--cc=dan.carpenter@oracle.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=herself@thefumon.com \
--cc=himangi774@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lisa@xenapiadmin.com \
--cc=mail@beyermatthias.de \
/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
all inboxes | Powered by JetHome®