tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup head: 38bfd17b38b31dfc13afabb1742a23d5741b16d2 commit: 2cd2d7ff48151c0a5326606dbc48a00df3a4d596 [77/85] debugfs: remove return value of debugfs_create_u8() reproduce: # apt-get install sparse # sparse version: v0.6.1-rc1-7-g2b96cd8-dirty git checkout 2cd2d7ff48151c0a5326606dbc48a00df3a4d596 make ARCH=x86_64 allmodconfig make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> sparse warnings: (new ones prefixed by >>) >> drivers/net/wireless/intel/iwlegacy/4965-rs.c:2779:49: sparse: sparse: incorrect type in assignment (different base types) @@ expected struct dentry *rs_sta_dbgfs_tx_agg_tid_en_file @@ got ry *rs_sta_dbgfs_tx_agg_tid_en_file @@ >> drivers/net/wireless/intel/iwlegacy/4965-rs.c:2779:49: sparse: expected struct dentry *rs_sta_dbgfs_tx_agg_tid_en_file >> drivers/net/wireless/intel/iwlegacy/4965-rs.c:2779:49: sparse: got void -- drivers/net/wireless/intel/iwlwifi/dvm/..//fw/file.h:325:19: sparse: sparse: mixed bitwiseness drivers/net/wireless/intel/iwlwifi/dvm/..//fw/file.h:470:19: sparse: sparse: mixed bitwiseness >> drivers/net/wireless/intel/iwlwifi/dvm/rs.c:3283:49: sparse: sparse: incorrect type in assignment (different base types) @@ expected struct dentry *rs_sta_dbgfs_tx_agg_tid_en_file @@ got ry *rs_sta_dbgfs_tx_agg_tid_en_file @@ >> drivers/net/wireless/intel/iwlwifi/dvm/rs.c:3283:49: sparse: expected struct dentry *rs_sta_dbgfs_tx_agg_tid_en_file >> drivers/net/wireless/intel/iwlwifi/dvm/rs.c:3283:49: sparse: got void 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@xxxxxxxxx> :::::: CC: Wey-Yi Guy <wey-yi.w.guy@xxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel