* [jgunthorpe:iommu_pt_arm64 16/53] drivers/iommu/generic_pt/fmt/../iommu_pt.h:62:22: warning: variable 'item_lg2sz' set but not used
@ 2026-04-03 0:17 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-04-03 0:17 UTC (permalink / raw)
To: Jason Gunthorpe; +Cc: oe-kbuild-all
tree: https://github.com/jgunthorpe/linux iommu_pt_arm64
head: 386de42c67a6d6b567ec9167593768eec79b8ce5
commit: 9f2e457e1598eab7d293e370fef201274accfc35 [16/53] iommupt: Add PT_FEAT_DETAILED_GATHER
config: x86_64-rhel-9.4-ltp (https://download.01.org/0day-ci/archive/20260403/202604030213.YCdrx73u-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260403/202604030213.YCdrx73u-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202604030213.YCdrx73u-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/iommu/generic_pt/fmt/iommu_template.h:40,
from drivers/iommu/generic_pt/fmt/iommu_amdv1.c:15:
drivers/iommu/generic_pt/fmt/../iommu_pt.h: In function 'gather_add_leaf':
>> drivers/iommu/generic_pt/fmt/../iommu_pt.h:62:22: warning: variable 'item_lg2sz' set but not used [-Wunused-but-set-variable]
62 | unsigned int item_lg2sz;
| ^~~~~~~~~~
vim +/item_lg2sz +62 drivers/iommu/generic_pt/fmt/../iommu_pt.h
58
59 static void gather_add_leaf(struct iommupt_pending_gather *pending,
60 const struct pt_state *pts)
61 {
> 62 unsigned int item_lg2sz;
63
64 if (!pts_feature(pts, PT_FEAT_DETAILED_GATHER))
65 return;
66
67 item_lg2sz = pt_table_item_lg2sz(pts);
68
69 pending->leaf_levels_bitmap |= BIT(pts->level);
70 }
71
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* [jgunthorpe:iommu_pt_arm64 16/53] drivers/iommu/generic_pt/fmt/../iommu_pt.h:62:22: warning: variable 'item_lg2sz' set but not used
@ 2026-04-03 8:45 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-04-03 8:45 UTC (permalink / raw)
To: Jason Gunthorpe; +Cc: oe-kbuild-all
tree: https://github.com/jgunthorpe/linux iommu_pt_arm64
head: 386de42c67a6d6b567ec9167593768eec79b8ce5
commit: 9f2e457e1598eab7d293e370fef201274accfc35 [16/53] iommupt: Add PT_FEAT_DETAILED_GATHER
config: x86_64-randconfig-001-20260403 (https://download.01.org/0day-ci/archive/20260403/202604030919.Gdy3tRkH-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260403/202604030919.Gdy3tRkH-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202604030919.Gdy3tRkH-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/iommu/generic_pt/fmt/iommu_template.h:40,
from drivers/iommu/generic_pt/fmt/iommu_x86_64.c:11:
drivers/iommu/generic_pt/fmt/../iommu_pt.h: In function 'gather_add_leaf':
>> drivers/iommu/generic_pt/fmt/../iommu_pt.h:62:22: warning: variable 'item_lg2sz' set but not used [-Wunused-but-set-variable]
62 | unsigned int item_lg2sz;
| ^~~~~~~~~~
vim +/item_lg2sz +62 drivers/iommu/generic_pt/fmt/../iommu_pt.h
58
59 static void gather_add_leaf(struct iommupt_pending_gather *pending,
60 const struct pt_state *pts)
61 {
> 62 unsigned int item_lg2sz;
63
64 if (!pts_feature(pts, PT_FEAT_DETAILED_GATHER))
65 return;
66
67 item_lg2sz = pt_table_item_lg2sz(pts);
68
69 pending->leaf_levels_bitmap |= BIT(pts->level);
70 }
71
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-03 8:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03 0:17 [jgunthorpe:iommu_pt_arm64 16/53] drivers/iommu/generic_pt/fmt/../iommu_pt.h:62:22: warning: variable 'item_lg2sz' set but not used kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-04-03 8:45 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.