[driver-core:debugfs_cleanup 77/78] drivers/net/wireless/intel/iwlegacy/4965-rs.c:2779:42: error: void value not ignored as it ought to be
kbuild test robot
lkp at intel.com
Wed Jun 12 09:40:29 UTC 2019
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup
head: 0c2872ff925dd9b66e3f636d01221fb27859f3f3
commit: 2cd2d7ff48151c0a5326606dbc48a00df3a4d596 [77/78] debugfs: remove return value of debugfs_create_u8()
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 2cd2d7ff48151c0a5326606dbc48a00df3a4d596
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=sparc64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
drivers/net/wireless/intel/iwlegacy/4965-rs.c: In function 'il4965_rs_add_debugfs':
>> drivers/net/wireless/intel/iwlegacy/4965-rs.c:2779:42: error: void value not ignored as it ought to be
lq_sta->rs_sta_dbgfs_tx_agg_tid_en_file =
^
vim +2779 drivers/net/wireless/intel/iwlegacy/4965-rs.c
be663ab6 drivers/net/wireless/iwlegacy/iwl-4965-rs.c Wey-Yi Guy 2011-02-21 2765
e7392364 drivers/net/wireless/iwlegacy/4965-rs.c Stanislaw Gruszka 2011-11-15 2766 static void
e7392364 drivers/net/wireless/iwlegacy/4965-rs.c Stanislaw Gruszka 2011-11-15 2767 il4965_rs_add_debugfs(void *il, void *il_sta, struct dentry *dir)
be663ab6 drivers/net/wireless/iwlegacy/iwl-4965-rs.c Wey-Yi Guy 2011-02-21 2768 {
46bc8d4b drivers/net/wireless/iwlegacy/iwl-4965-rs.c Stanislaw Gruszka 2011-10-24 2769 struct il_lq_sta *lq_sta = il_sta;
be663ab6 drivers/net/wireless/iwlegacy/iwl-4965-rs.c Wey-Yi Guy 2011-02-21 2770 lq_sta->rs_sta_dbgfs_scale_table_file =
2ef00c53 drivers/net/wireless/intel/iwlegacy/4965-rs.c Joe Perches 2018-03-23 2771 debugfs_create_file("rate_scale_table", 0600, dir,
be663ab6 drivers/net/wireless/iwlegacy/iwl-4965-rs.c Wey-Yi Guy 2011-02-21 2772 lq_sta, &rs_sta_dbgfs_scale_table_ops);
be663ab6 drivers/net/wireless/iwlegacy/iwl-4965-rs.c Wey-Yi Guy 2011-02-21 2773 lq_sta->rs_sta_dbgfs_stats_table_file =
2ef00c53 drivers/net/wireless/intel/iwlegacy/4965-rs.c Joe Perches 2018-03-23 2774 debugfs_create_file("rate_stats_table", 0400, dir, lq_sta,
e7392364 drivers/net/wireless/iwlegacy/4965-rs.c Stanislaw Gruszka 2011-11-15 2775 &rs_sta_dbgfs_stats_table_ops);
be663ab6 drivers/net/wireless/iwlegacy/iwl-4965-rs.c Wey-Yi Guy 2011-02-21 2776 lq_sta->rs_sta_dbgfs_rate_scale_data_file =
2ef00c53 drivers/net/wireless/intel/iwlegacy/4965-rs.c Joe Perches 2018-03-23 2777 debugfs_create_file("rate_scale_data", 0400, dir, lq_sta,
e7392364 drivers/net/wireless/iwlegacy/4965-rs.c Stanislaw Gruszka 2011-11-15 2778 &rs_sta_dbgfs_rate_scale_data_ops);
be663ab6 drivers/net/wireless/iwlegacy/iwl-4965-rs.c Wey-Yi Guy 2011-02-21 @2779 lq_sta->rs_sta_dbgfs_tx_agg_tid_en_file =
2ef00c53 drivers/net/wireless/intel/iwlegacy/4965-rs.c Joe Perches 2018-03-23 2780 debugfs_create_u8("tx_agg_tid_enable", 0600, dir,
be663ab6 drivers/net/wireless/iwlegacy/iwl-4965-rs.c Wey-Yi Guy 2011-02-21 2781 &lq_sta->tx_agg_tid_en);
be663ab6 drivers/net/wireless/iwlegacy/iwl-4965-rs.c Wey-Yi Guy 2011-02-21 2782
:::::: The code at line 2779 was first introduced by commit
:::::: be663ab67077fac8e23eb8e231a8c1c94cb32e54 iwlwifi: split the drivers for agn and legacy devices 3945/4965
:::::: TO: Wey-Yi Guy <wey-yi.w.guy at intel.com>
:::::: CC: Wey-Yi Guy <wey-yi.w.guy at intel.com>
---
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: 58353 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20190612/18f3deef/attachment-0001.bin>
More information about the devel
mailing list