diff options
author | Rahul Bedarkar <rahulbedarkar89@gmail.com> | 2014-10-01 16:56:01 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-20 02:29:26 (GMT) |
commit | 5d096c3b2609d894d93348e4df90a720f8645dd1 (patch) | |
tree | 740a40f3a7ecf2e0b09a4c81c197c4735f3e8a0b /drivers | |
parent | 5d0d813d34cded724450f1149e9402bc6fbc3270 (diff) | |
download | linux-5d096c3b2609d894d93348e4df90a720f8645dd1.tar.xz |
staging: bcm: fix sparse warning in module_param
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/bcm/InterfaceInit.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = |