[staging:staging-testing 240/312] drivers/staging/rtlwifi/base.c:2167: warning: unused variable 'hw'
kbuild test robot
fengguang.wu at intel.com
Mon Oct 23 21:20:20 UTC 2017
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing
head: 7706abf5a0eb4c082897fd2a17a0ac0898e39666
commit: f8af6a323368dd28fcea9742d582593c9adb2261 [240/312] staging: rtlwifi: Convert timers to use timer_setup()
config: x86_64-randconfig-v0-10240403 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
git checkout f8af6a323368dd28fcea9742d582593c9adb2261
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/staging/rtlwifi/base.c: In function 'rtl_watch_dog_timer_callback':
>> drivers/staging/rtlwifi/base.c:2167: warning: unused variable 'hw'
vim +/hw +2167 drivers/staging/rtlwifi/base.c
2163
2164 void rtl_watch_dog_timer_callback(struct timer_list *t)
2165 {
2166 struct rtl_priv *rtlpriv = from_timer(rtlpriv, t, works.watchdog_timer);
> 2167 struct ieee80211_hw *hw = rtlpriv->hw;
2168
2169 queue_delayed_work(rtlpriv->works.rtl_wq,
2170 &rtlpriv->works.watchdog_wq, 0);
2171
2172 mod_timer(&rtlpriv->works.watchdog_timer,
2173 jiffies + MSECS(RTL_WATCH_DOG_TIME));
2174 }
2175
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 29556 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20171024/cc7627ae/attachment-0001.bin>
More information about the devel
mailing list