Skip to contentSkip to conversation

lsm_list_modules_test.c:104:22: error: 'LSM_ID_IMA' undeclared; did you mean 'LSM_ID_YAMA'?

PATCH kernel test robot 2 participants 2 messages Nov 22, 2023

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

::::::
:::::: Manual check reason: "low confidence bisect report" ::::::

BCC: [email protected]
CC: [email protected]
TO: Paul Moore <[email protected]>
CC: Roberto Sassu <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm.git next
head:   afe576a62062cf944372fff2b6510b621ec454f2
commit: edd71f8e266c7ba15eedfec338864e53ddde1c25 [12/23] lsm: drop LSM_ID_IMA

:::::: branch date: 29 hours ago
:::::: commit date: 9 days ago
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/20231122/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/

All errors (new ones prefixed by >>):

lsm_list_modules_test.c: In function 'correct_lsm_list_modules':

>> lsm_list_modules_test.c:104:22: error: 'LSM_ID_IMA' undeclared (first use in this function); did you mean 'LSM_ID_YAMA'?
     104 |                 case LSM_ID_IMA:
         |                      ^~~~~~~~~~
         |                      LSM_ID_YAMA

lsm_list_modules_test.c:104:22: note: each undeclared identifier is reported only once for each function it appears in

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
#1 lore raw
Quoted 12 lines · kernel test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm.git next
head:   afe576a62062cf944372fff2b6510b621ec454f2
commit: edd71f8e266c7ba15eedfec338864e53ddde1c25 [12/23] lsm: drop LSM_ID_IMA
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/20231122/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/

Quoted 8 lines

All errors (new ones prefixed by >>):

lsm_list_modules_test.c: In function 'correct_lsm_list_modules':

Quoted 1 line
Quoted 1 line

lsm_list_modules_test.c:104:22: error: 'LSM_ID_IMA' undeclared (first use in this function); did you mean 'LSM_ID_YAMA'?

     104 |                 case LSM_ID_IMA:
         |                      ^~~~~~~~~~
         |                      LSM_ID_YAMA

lsm_list_modules_test.c:104:22: note: each undeclared identifier is reported only once for each function it appears in

I just posted a patch for this, lore link below:

https://lore.kernel.org/linux-security-module/[email protected]

Signature · 1 line
paul-moore.com