diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2013-11-14 19:10:37 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-11-15 14:29:30 -0500 |
commit | 68b76e99d1f7b696d49b5e99286401150072987a (patch) | |
tree | c2a420deb2a1be9b5ae054f8fbed65f7c1a227aa /drivers/spi/Makefile | |
parent | b4089d6d8e71a7293e2192025dfa507a04f661c4 (diff) |
mwifiex: use return value of mwifiex_add_virtual_intf() correctly
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>
Diffstat (limited to 'drivers/spi/Makefile')
0 files changed, 0 insertions, 0 deletions