From: Rahul Bedarkar Date: Wed, 1 Oct 2014 16:56:01 +0000 (+0530) Subject: staging: bcm: fix sparse warning in module_param X-Git-Tag: v4.14-rc1~6283^2~1128 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d096c3b2609d894d93348e4df90a720f8645dd1;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Greg Kroah-Hartman --- 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 =