diff options
author | Harvey Harrison | 2008-07-24 03:36:38 +0200 |
---|---|---|
committer | John W. Linville | 2008-07-29 22:55:07 +0200 |
commit | 0b06b2ae0e474fc6378117c832bcd94785a9e975 (patch) | |
tree | d158aa96f18b5dc9415fc9315a59a66fc82e6eff /drivers | |
parent | drivers/net/wireless/iwlwifi/iwl-led.c: printk fix (diff) | |
download | kernel-qcow2-linux-0b06b2ae0e474fc6378117c832bcd94785a9e975.tar.gz kernel-qcow2-linux-0b06b2ae0e474fc6378117c832bcd94785a9e975.tar.xz kernel-qcow2-linux-0b06b2ae0e474fc6378117c832bcd94785a9e975.zip |
mac80211: fix sparse integer as NULL pointer warning
drivers/net/wireless/mac80211_hwsim.c:503:20: warning: Using plain integer as NULL pointer
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 5816230d58f8..248d31a7aa33 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c @@ -500,7 +500,7 @@ failed_hw: device_unregister(data->dev); failed_drvdata: ieee80211_free_hw(hw); - hwsim_radios[i] = 0; + hwsim_radios[i] = NULL; failed: mac80211_hwsim_free(); return err; |