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:
b4089d6
)
mwifiex: use return value of mwifiex_add_virtual_intf() correctly
author
Amitkumar Karwar
<akarwar@marvell.com>
Fri, 15 Nov 2013 03:10:37 +0000
(19:10 -0800)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 15 Nov 2013 19:29:30 +0000
(14:29 -0500)
mwifiex_add_virtual_intf() returns ERR_PTR values. So use IS_ERR()
macro instead of checking for NULL pointer.
Reported-by: Ujjal Roy <royujjal@gmail.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
No differences found