Skip to content

Commit

Permalink
at76c50x-usb: convert at76_debug to an unsigned int
Browse files Browse the repository at this point in the history
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: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Kalle Valo <kalle.valo@iki.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Jason Andryuk authored and John W. Linville committed Feb 27, 2009
1 parent 19e8bc7 commit 2ce4f9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/at76c50x-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -2459,7 +2459,7 @@ static void __exit at76_mod_exit(void)
led_trigger_unregister_simple(ledtrig_tx);
}

module_param_named(debug, at76_debug, int, 0600);
module_param_named(debug, at76_debug, uint, 0600);
MODULE_PARM_DESC(debug, "Debugging level");

module_init(at76_mod_init);
Expand Down

0 comments on commit 2ce4f9d

Please sign in to comment.