tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: 400fd9ccb52e01bf78acae2bbc1710923a15f033 commit: 65479800e82741cf74021459e951eccc3c07c6d4 [2417/2417] psi: add struct psi_group_ext config: x86_64-randconfig-001-20241112 (https://download.01.org/0day-ci/archive/20241113/202411130536.ah7Yo4Qa-lkp@i...) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241113/202411130536.ah7Yo4Qa-lkp@i...)
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/202411130536.ah7Yo4Qa-lkp@intel.com/
All warnings (new ones prefixed by >>):
kernel/sched/psi.c:199:23: warning: no previous prototype for 'to_psi_group_ext' [-Wmissing-prototypes]
199 | struct psi_group_ext *to_psi_group_ext(struct psi_group *psi) | ^~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for PGP_KEY_PARSER Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] && ASYMMETRIC_PUBLIC_KEY_SUBTYPE [=n] Selected by [y]: - PGP_PRELOAD [=y] && CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y]
vim +/to_psi_group_ext +199 kernel/sched/psi.c
198
199 struct psi_group_ext *to_psi_group_ext(struct psi_group *psi)
200 { 201 if (psi == &psi_system) 202 return &psi_stat_system; 203 else 204 return container_of(psi, struct psi_group_ext, psi); 205 } 206 #else 207 static inline struct psi_group_ext *to_psi_group_ext(struct psi_group *psi) 208 { 209 return NULL; 210 } 211 #endif 212