Commit 2ce4f9d8 authored by Jason Andryuk's avatar Jason Andryuk Committed by John W. Linville
Browse files

at76c50x-usb: convert at76_debug to an unsigned int

at76_debug should be an unsigned int as it used as a bit field.  In
fact, modprobe fails when trying to set at76_debug's high bit.
Signed-off-by: default avatarJason Andryuk <>
Signed-off-by: default avatarKalle Valo <>
Signed-off-by: default avatarJohn W. Linville <>
parent 19e8bc7f
......@@ -109,7 +109,7 @@
} \
} while (0)
static int at76_debug = DBG_DEFAULTS;
static uint at76_debug = DBG_DEFAULTS;
/* Protect against concurrent firmware loading and parsing */
static struct mutex fw_mutex;
......@@ -2459,7 +2459,7 @@ static void __exit at76_mod_exit(void)
module_param_named(debug, at76_debug, int, 0600);
module_param_named(debug, at76_debug, uint, 0600);
MODULE_PARM_DESC(debug, "Debugging level");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment