projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6cbade
)
rt2x00: checkpatch.pl error fixes for rt2800usb.c
author
Mark Einon
<mark.einon@gmail.com>
Sat, 6 Nov 2010 14:45:41 +0000
(15:45 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 15 Nov 2010 18:26:21 +0000
(13:26 -0500)
rt2800usb.c:48: ERROR: do not initialise statics to 0 or NULL
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800usb.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/rt2x00/rt2800usb.c
b/drivers/net/wireless/rt2x00/rt2800usb.c
index 5c31e3350aace420197461526f67fece4e2162ff..67a994247a300e1ebd57ae87e2b61bddd377dbc9 100644
(file)
--- a/
drivers/net/wireless/rt2x00/rt2800usb.c
+++ b/
drivers/net/wireless/rt2x00/rt2800usb.c
@@
-45,7
+45,7
@@
/*
* Allow hardware encryption to be disabled.
*/
-static int modparam_nohwcrypt
= 0
;
+static int modparam_nohwcrypt;
module_param_named(nohwcrypt, modparam_nohwcrypt, bool, S_IRUGO);
MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption.");