* [morse:mpam/snapshot/v6.5-rc1 138/150] fs/resctrl/rdtgroup.c:850:24: error: implicit declaration of function 'iommu_get_group_kset'; did you mean 'iommu_group_get'?
@ 2023-08-26 0:06 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-26 0:06 UTC (permalink / raw)
To: James Morse; +Cc: oe-kbuild-all
Hi James,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/snapshot/v6.5-rc1
head: b35e256b516ef563cb57da2628dc19bcd600e35f
commit: 9e9af35cd8e4b32e9ccba2fa49c1ce600b3066b8 [138/150] fs/resctrl: Add support for assigning iommu_groups to resctrl groups
config: i386-buildonly-randconfig-005-20230826 (https://download.01.org/0day-ci/archive/20230826/202308260737.qAn48aMP-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230826/202308260737.qAn48aMP-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/202308260737.qAn48aMP-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
fs/resctrl/rdtgroup.c: In function 'show_rdt_iommu':
>> fs/resctrl/rdtgroup.c:850:24: error: implicit declaration of function 'iommu_get_group_kset'; did you mean 'iommu_group_get'? [-Werror=implicit-function-declaration]
850 | iommu_groups = iommu_get_group_kset();
| ^~~~~~~~~~~~~~~~~~~~
| iommu_group_get
>> fs/resctrl/rdtgroup.c:850:22: warning: assignment to 'struct kset *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
850 | iommu_groups = iommu_get_group_kset();
| ^
cc1: some warnings being treated as errors
vim +850 fs/resctrl/rdtgroup.c
839
840 static void show_rdt_iommu(struct rdtgroup *r, struct seq_file *s)
841 {
842 struct kset *iommu_groups;
843 struct iommu_group *group;
844 struct kobject *group_kobj = NULL;
845
846 if (!IS_ENABLED(CONFIG_RESCTRL_IOMMU) ||
847 !static_branch_unlikely(&resctrl_abi_playground))
848 return;
849
> 850 iommu_groups = iommu_get_group_kset();
851
852 while ((group_kobj = kset_get_next_obj(iommu_groups, group_kobj))) {
853
854 /* iommu_group_get_from_kobj() wants to drop a reference */
855 kobject_get(group_kobj);
856
857 group = iommu_group_get_from_kobj(group_kobj);
858 if (!group)
859 continue;
860
861 if (iommu_matches_rdtgroup(group, r))
862 seq_printf(s, "iommu_group:%s\n", group_kobj->name);
863 }
864
865 kset_put(iommu_groups);
866 }
867
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-26 0:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-26 0:06 [morse:mpam/snapshot/v6.5-rc1 138/150] fs/resctrl/rdtgroup.c:850:24: error: implicit declaration of function 'iommu_get_group_kset'; did you mean 'iommu_group_get'? 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.