mwifiex: fix potential null dereference 'mef_entry'
authorBing Zhao <bzhao@marvell.com>
Thu, 7 Mar 2013 00:44:26 +0000 (16:44 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Mar 2013 21:02:48 +0000 (16:02 -0500)
commitc678fb2a915b71f8faa78d9ab6d409b8ff3276cc
tree074b9864a203dfaf139d9c9e65ca02bdb594c14f
parent8908c7d5392671610a2d80107845d4aeee92d9c1
mwifiex: fix potential null dereference 'mef_entry'

drivers/net/wireless/mwifiex/cfg80211.c:2357 mwifiex_cfg80211_suspend()
  error: potential null dereference 'mef_entry'
  (kzalloc returns null)

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c