diff options
author | Chandra S Gorentla | 2015-08-15 08:53:31 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-08-17 21:46:31 +0200 |
commit | 6e3f05bfc02b61adf50709c4a96f07314addeeb6 (patch) | |
tree | 2ba8def3856faa4bacb38291dea2a99690d639b2 /drivers/staging/wilc1000/wilc_msgqueue.c | |
parent | staging: wilc1000: remove unneeded tstrWILC_MsgQueueAttrs typedef (diff) | |
download | kernel-qcow2-linux-6e3f05bfc02b61adf50709c4a96f07314addeeb6.tar.gz kernel-qcow2-linux-6e3f05bfc02b61adf50709c4a96f07314addeeb6.tar.xz kernel-qcow2-linux-6e3f05bfc02b61adf50709c4a96f07314addeeb6.zip |
staging: wilc1000: Process WARN, INFO options of debug levels from user
This patch enables setting the module's debug options WARN and INFO in the
debugfs file 'wilc_debug_level'. This functionality allows the user to
enable logging of warnings and other information. Before this change,
writes to this debugfs file set only one option - DEBUG. Another option
that is enabled by default is ERR.
As a side effect, this patch removes the 'sparse' warning -
'warning: incorrect type in argument 2 (different address spaces)'.
Signed-off-by: Chandra S Gorentla <csgorentla@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_msgqueue.c')
0 files changed, 0 insertions, 0 deletions