git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d9562a
)
staging: wlan-ng: Fix dereference before NULL check
author
Emil Goode
<emilgoode@gmail.com>
Tue, 18 Sep 2012 16:04:07 +0000
(18:04 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 19 Sep 2012 08:28:14 +0000
(09:28 +0100)
Smatch is warning about a dereference before we check for NULL.
This patch moves the dereference to after the NULL check.
Smatch warning:
drivers/staging/wlan-ng/cfg80211.c:345 prism2_scan() warn:
variable dereferenced before check 'request' (see line 332)
Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found