diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2013-11-15 03:10:37 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-11-15 19:29:30 (GMT) |
commit | 68b76e99d1f7b696d49b5e99286401150072987a (patch) | |
tree | c2a420deb2a1be9b5ae054f8fbed65f7c1a227aa /drivers/net/hippi | |
parent | b4089d6d8e71a7293e2192025dfa507a04f661c4 (diff) | |
download | linux-fsl-qoriq-68b76e99d1f7b696d49b5e99286401150072987a.tar.xz |
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/net/hippi')
0 files changed, 0 insertions, 0 deletions