tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 35e884f89df4c48566d745dc5a97a0d058d04263 commit: 148beb612031255156d68b342170140524afb36e ice: Initialize Flow Director resources date: 6 weeks ago config: i386-randconfig-s001-20200705 (attached as .config) compiler: gcc-9 (Debian 9.3.0-14) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-3-gfa153962-dirty git checkout 148beb612031255156d68b342170140524afb36e # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/net/ethernet/intel/ice/ice_flex_pipe.c:2826:44: sparse: sparse: non size-preserving pointer to integer cast -- >> drivers/net/ethernet/intel/ice/ice_flow.c:832:20: sparse: sparse: non size-preserving pointer to integer cast >> drivers/net/ethernet/intel/ice/ice_flow.c:860:17: sparse: sparse: non size-preserving integer to pointer cast vim +2826 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 2810 2811 /** 2812 * ice_free_flow_profs - free flow profile entries 2813 * @hw: pointer to the hardware structure 2814 * @blk_idx: HW block index 2815 */ 2816 static void ice_free_flow_profs(struct ice_hw *hw, u8 blk_idx) 2817 { 2818 struct ice_flow_prof *p, *tmp; 2819 2820 mutex_lock(&hw->fl_profs_locks[blk_idx]); 2821 list_for_each_entry_safe(p, tmp, &hw->fl_profs[blk_idx], l_entry) { 2822 struct ice_flow_entry *e, *t; 2823 2824 list_for_each_entry_safe(e, t, &p->entries, l_entry) 2825 ice_flow_rem_entry(hw, (enum ice_block)blk_idx, > 2826 ICE_FLOW_ENTRY_HNDL(e)); 2827 2828 list_del(&p->l_entry); 2829 devm_kfree(ice_hw_to_dev(hw), p); 2830 } 2831 mutex_unlock(&hw->fl_profs_locks[blk_idx]); 2832 2833 /* if driver is in reset and tables are being cleared 2834 * re-initialize the flow profile list heads 2835 */ 2836 INIT_LIST_HEAD(&hw->fl_profs[blk_idx]); 2837 } 2838 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org