* security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db'
@ 2020-07-24 1:39 ` kernel test robot
0 siblings, 0 replies; 10+ messages in thread
From: kernel test robot @ 2020-07-24 1:39 UTC (permalink / raw)
To: Nayna Jain; +Cc: kbuild-all, linux-kernel, Michael Ellerman, Eric Richter
[-- Attachment #1: Type: text/plain, Size: 3229 bytes --]
Hi Nayna,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d15be546031cf65a0fc34879beca02fd90fe7ac7
commit: ad723674d6758478829ee766e3f1a2a24d56236f x86/efi: move common keyring handler functions to new file
date: 9 months ago
config: ia64-randconfig-r025-20200723 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ad723674d6758478829ee766e3f1a2a24d56236f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from arch/ia64/include/asm/pgtable.h:154,
from include/linux/mm.h:99,
from arch/ia64/include/asm/uaccess.h:38,
from include/linux/uaccess.h:11,
from arch/ia64/include/asm/sections.h:11,
from include/linux/interrupt.h:20,
from include/linux/rtc.h:17,
from include/linux/efi.h:20,
from security/integrity/platform_certs/keyring_handler.c:7:
arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
arch/ia64/include/asm/mmu_context.h:137:41: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable]
137 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
| ^~~~~~~
security/integrity/platform_certs/keyring_handler.c: At top level:
>> security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db' [-Wmissing-prototypes]
62 | __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
| ^~~~~~~~~~~~~~~~~~
>> security/integrity/platform_certs/keyring_handler.c:73:30: warning: no previous prototype for 'get_handler_for_dbx' [-Wmissing-prototypes]
73 | __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
| ^~~~~~~~~~~~~~~~~~~
vim +/get_handler_for_db +62 security/integrity/platform_certs/keyring_handler.c
57
58 /*
59 * Return the appropriate handler for particular signature list types found in
60 * the UEFI db and MokListRT tables.
61 */
> 62 __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
63 {
64 if (efi_guidcmp(*sig_type, efi_cert_x509_guid) == 0)
65 return add_to_platform_keyring;
66 return 0;
67 }
68
69 /*
70 * Return the appropriate handler for particular signature list types found in
71 * the UEFI dbx and MokListXRT tables.
72 */
> 73 __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 24521 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db'
@ 2020-07-24 1:39 ` kernel test robot
0 siblings, 0 replies; 10+ messages in thread
From: kernel test robot @ 2020-07-24 1:39 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3297 bytes --]
Hi Nayna,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d15be546031cf65a0fc34879beca02fd90fe7ac7
commit: ad723674d6758478829ee766e3f1a2a24d56236f x86/efi: move common keyring handler functions to new file
date: 9 months ago
config: ia64-randconfig-r025-20200723 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ad723674d6758478829ee766e3f1a2a24d56236f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from arch/ia64/include/asm/pgtable.h:154,
from include/linux/mm.h:99,
from arch/ia64/include/asm/uaccess.h:38,
from include/linux/uaccess.h:11,
from arch/ia64/include/asm/sections.h:11,
from include/linux/interrupt.h:20,
from include/linux/rtc.h:17,
from include/linux/efi.h:20,
from security/integrity/platform_certs/keyring_handler.c:7:
arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
arch/ia64/include/asm/mmu_context.h:137:41: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable]
137 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
| ^~~~~~~
security/integrity/platform_certs/keyring_handler.c: At top level:
>> security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db' [-Wmissing-prototypes]
62 | __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
| ^~~~~~~~~~~~~~~~~~
>> security/integrity/platform_certs/keyring_handler.c:73:30: warning: no previous prototype for 'get_handler_for_dbx' [-Wmissing-prototypes]
73 | __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
| ^~~~~~~~~~~~~~~~~~~
vim +/get_handler_for_db +62 security/integrity/platform_certs/keyring_handler.c
57
58 /*
59 * Return the appropriate handler for particular signature list types found in
60 * the UEFI db and MokListRT tables.
61 */
> 62 __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
63 {
64 if (efi_guidcmp(*sig_type, efi_cert_x509_guid) == 0)
65 return add_to_platform_keyring;
66 return 0;
67 }
68
69 /*
70 * Return the appropriate handler for particular signature list types found in
71 * the UEFI dbx and MokListXRT tables.
72 */
> 73 __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 24521 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db'
@ 2020-10-25 12:28 ` kernel test robot
0 siblings, 0 replies; 10+ messages in thread
From: kernel test robot @ 2020-10-25 12:28 UTC (permalink / raw)
To: Nayna Jain; +Cc: kbuild-all, linux-kernel, Michael Ellerman, Eric Richter
[-- Attachment #1: Type: text/plain, Size: 3496 bytes --]
Hi Nayna,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d76913908102044f14381df865bb74df17a538cb
commit: ad723674d6758478829ee766e3f1a2a24d56236f x86/efi: move common keyring handler functions to new file
date: 12 months ago
config: ia64-randconfig-r022-20201025 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ad723674d6758478829ee766e3f1a2a24d56236f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout ad723674d6758478829ee766e3f1a2a24d56236f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from arch/ia64/include/asm/pgtable.h:154,
from include/linux/mm.h:99,
from arch/ia64/include/asm/uaccess.h:38,
from include/linux/uaccess.h:11,
from arch/ia64/include/asm/sections.h:11,
from include/linux/interrupt.h:20,
from include/linux/rtc.h:17,
from include/linux/efi.h:20,
from security/integrity/platform_certs/keyring_handler.c:7:
arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
arch/ia64/include/asm/mmu_context.h:137:41: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable]
137 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
| ^~~~~~~
security/integrity/platform_certs/keyring_handler.c: At top level:
>> security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db' [-Wmissing-prototypes]
62 | __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
| ^~~~~~~~~~~~~~~~~~
>> security/integrity/platform_certs/keyring_handler.c:73:30: warning: no previous prototype for 'get_handler_for_dbx' [-Wmissing-prototypes]
73 | __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
| ^~~~~~~~~~~~~~~~~~~
vim +/get_handler_for_db +62 security/integrity/platform_certs/keyring_handler.c
57
58 /*
59 * Return the appropriate handler for particular signature list types found in
60 * the UEFI db and MokListRT tables.
61 */
> 62 __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
63 {
64 if (efi_guidcmp(*sig_type, efi_cert_x509_guid) == 0)
65 return add_to_platform_keyring;
66 return 0;
67 }
68
69 /*
70 * Return the appropriate handler for particular signature list types found in
71 * the UEFI dbx and MokListXRT tables.
72 */
> 73 __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 25788 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db'
@ 2020-10-25 12:28 ` kernel test robot
0 siblings, 0 replies; 10+ messages in thread
From: kernel test robot @ 2020-10-25 12:28 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3567 bytes --]
Hi Nayna,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d76913908102044f14381df865bb74df17a538cb
commit: ad723674d6758478829ee766e3f1a2a24d56236f x86/efi: move common keyring handler functions to new file
date: 12 months ago
config: ia64-randconfig-r022-20201025 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ad723674d6758478829ee766e3f1a2a24d56236f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout ad723674d6758478829ee766e3f1a2a24d56236f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from arch/ia64/include/asm/pgtable.h:154,
from include/linux/mm.h:99,
from arch/ia64/include/asm/uaccess.h:38,
from include/linux/uaccess.h:11,
from arch/ia64/include/asm/sections.h:11,
from include/linux/interrupt.h:20,
from include/linux/rtc.h:17,
from include/linux/efi.h:20,
from security/integrity/platform_certs/keyring_handler.c:7:
arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
arch/ia64/include/asm/mmu_context.h:137:41: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable]
137 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
| ^~~~~~~
security/integrity/platform_certs/keyring_handler.c: At top level:
>> security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db' [-Wmissing-prototypes]
62 | __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
| ^~~~~~~~~~~~~~~~~~
>> security/integrity/platform_certs/keyring_handler.c:73:30: warning: no previous prototype for 'get_handler_for_dbx' [-Wmissing-prototypes]
73 | __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
| ^~~~~~~~~~~~~~~~~~~
vim +/get_handler_for_db +62 security/integrity/platform_certs/keyring_handler.c
57
58 /*
59 * Return the appropriate handler for particular signature list types found in
60 * the UEFI db and MokListRT tables.
61 */
> 62 __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
63 {
64 if (efi_guidcmp(*sig_type, efi_cert_x509_guid) == 0)
65 return add_to_platform_keyring;
66 return 0;
67 }
68
69 /*
70 * Return the appropriate handler for particular signature list types found in
71 * the UEFI dbx and MokListXRT tables.
72 */
> 73 __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 25788 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db'
@ 2020-10-04 3:09 ` kernel test robot
0 siblings, 0 replies; 10+ messages in thread
From: kernel test robot @ 2020-10-04 3:09 UTC (permalink / raw)
To: Nayna Jain; +Cc: kbuild-all, linux-kernel, Michael Ellerman, Eric Richter
[-- Attachment #1: Type: text/plain, Size: 2598 bytes --]
Hi Nayna,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 22fbc037cd32e4e6771d2271b565806cfb8c134c
commit: ad723674d6758478829ee766e3f1a2a24d56236f x86/efi: move common keyring handler functions to new file
date: 11 months ago
config: ia64-randconfig-r014-20201004 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ad723674d6758478829ee766e3f1a2a24d56236f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout ad723674d6758478829ee766e3f1a2a24d56236f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db' [-Wmissing-prototypes]
62 | __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
| ^~~~~~~~~~~~~~~~~~
>> security/integrity/platform_certs/keyring_handler.c:73:30: warning: no previous prototype for 'get_handler_for_dbx' [-Wmissing-prototypes]
73 | __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
| ^~~~~~~~~~~~~~~~~~~
vim +/get_handler_for_db +62 security/integrity/platform_certs/keyring_handler.c
57
58 /*
59 * Return the appropriate handler for particular signature list types found in
60 * the UEFI db and MokListRT tables.
61 */
> 62 __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
63 {
64 if (efi_guidcmp(*sig_type, efi_cert_x509_guid) == 0)
65 return add_to_platform_keyring;
66 return 0;
67 }
68
69 /*
70 * Return the appropriate handler for particular signature list types found in
71 * the UEFI dbx and MokListXRT tables.
72 */
> 73 __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 21437 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db'
@ 2020-10-04 3:09 ` kernel test robot
0 siblings, 0 replies; 10+ messages in thread
From: kernel test robot @ 2020-10-04 3:09 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2655 bytes --]
Hi Nayna,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 22fbc037cd32e4e6771d2271b565806cfb8c134c
commit: ad723674d6758478829ee766e3f1a2a24d56236f x86/efi: move common keyring handler functions to new file
date: 11 months ago
config: ia64-randconfig-r014-20201004 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ad723674d6758478829ee766e3f1a2a24d56236f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout ad723674d6758478829ee766e3f1a2a24d56236f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db' [-Wmissing-prototypes]
62 | __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
| ^~~~~~~~~~~~~~~~~~
>> security/integrity/platform_certs/keyring_handler.c:73:30: warning: no previous prototype for 'get_handler_for_dbx' [-Wmissing-prototypes]
73 | __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
| ^~~~~~~~~~~~~~~~~~~
vim +/get_handler_for_db +62 security/integrity/platform_certs/keyring_handler.c
57
58 /*
59 * Return the appropriate handler for particular signature list types found in
60 * the UEFI db and MokListRT tables.
61 */
> 62 __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
63 {
64 if (efi_guidcmp(*sig_type, efi_cert_x509_guid) == 0)
65 return add_to_platform_keyring;
66 return 0;
67 }
68
69 /*
70 * Return the appropriate handler for particular signature list types found in
71 * the UEFI dbx and MokListXRT tables.
72 */
> 73 __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 21437 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db'
@ 2020-08-16 13:26 ` kernel test robot
0 siblings, 0 replies; 10+ messages in thread
From: kernel test robot @ 2020-08-16 13:26 UTC (permalink / raw)
To: Nayna Jain; +Cc: kbuild-all, linux-kernel, Michael Ellerman, Eric Richter
[-- Attachment #1: Type: text/plain, Size: 2632 bytes --]
Hi Nayna,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4b6c093e21d36bede0fd88fd0aeb3b03647260e4
commit: ad723674d6758478829ee766e3f1a2a24d56236f x86/efi: move common keyring handler functions to new file
date: 9 months ago
config: arm-randconfig-r005-20200816 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ad723674d6758478829ee766e3f1a2a24d56236f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db' [-Wmissing-prototypes]
62 | __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
| ^~~~~~~~~~~~~~~~~~
>> security/integrity/platform_certs/keyring_handler.c:73:30: warning: no previous prototype for 'get_handler_for_dbx' [-Wmissing-prototypes]
73 | __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
| ^~~~~~~~~~~~~~~~~~~
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ad723674d6758478829ee766e3f1a2a24d56236f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout ad723674d6758478829ee766e3f1a2a24d56236f
vim +/get_handler_for_db +62 security/integrity/platform_certs/keyring_handler.c
57
58 /*
59 * Return the appropriate handler for particular signature list types found in
60 * the UEFI db and MokListRT tables.
61 */
> 62 __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
63 {
64 if (efi_guidcmp(*sig_type, efi_cert_x509_guid) == 0)
65 return add_to_platform_keyring;
66 return 0;
67 }
68
69 /*
70 * Return the appropriate handler for particular signature list types found in
71 * the UEFI dbx and MokListXRT tables.
72 */
> 73 __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28379 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db'
@ 2020-08-16 13:26 ` kernel test robot
0 siblings, 0 replies; 10+ messages in thread
From: kernel test robot @ 2020-08-16 13:26 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2690 bytes --]
Hi Nayna,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4b6c093e21d36bede0fd88fd0aeb3b03647260e4
commit: ad723674d6758478829ee766e3f1a2a24d56236f x86/efi: move common keyring handler functions to new file
date: 9 months ago
config: arm-randconfig-r005-20200816 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ad723674d6758478829ee766e3f1a2a24d56236f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db' [-Wmissing-prototypes]
62 | __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
| ^~~~~~~~~~~~~~~~~~
>> security/integrity/platform_certs/keyring_handler.c:73:30: warning: no previous prototype for 'get_handler_for_dbx' [-Wmissing-prototypes]
73 | __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
| ^~~~~~~~~~~~~~~~~~~
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ad723674d6758478829ee766e3f1a2a24d56236f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout ad723674d6758478829ee766e3f1a2a24d56236f
vim +/get_handler_for_db +62 security/integrity/platform_certs/keyring_handler.c
57
58 /*
59 * Return the appropriate handler for particular signature list types found in
60 * the UEFI db and MokListRT tables.
61 */
> 62 __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
63 {
64 if (efi_guidcmp(*sig_type, efi_cert_x509_guid) == 0)
65 return add_to_platform_keyring;
66 return 0;
67 }
68
69 /*
70 * Return the appropriate handler for particular signature list types found in
71 * the UEFI dbx and MokListXRT tables.
72 */
> 73 __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 28379 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db'
@ 2020-07-01 17:57 ` kernel test robot
0 siblings, 0 replies; 10+ messages in thread
From: kernel test robot @ 2020-07-01 17:57 UTC (permalink / raw)
To: Nayna Jain; +Cc: kbuild-all, linux-kernel, Michael Ellerman, Eric Richter
[-- Attachment #1: Type: text/plain, Size: 2036 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7c30b859a947535f2213277e827d7ac7dcff9c84
commit: ad723674d6758478829ee766e3f1a2a24d56236f x86/efi: move common keyring handler functions to new file
date: 8 months ago
config: i386-randconfig-r004-20200701 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce (this is a W=1 build):
git checkout ad723674d6758478829ee766e3f1a2a24d56236f
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db' [-Wmissing-prototypes]
__init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
^
>> security/integrity/platform_certs/keyring_handler.c:73:30: warning: no previous prototype for 'get_handler_for_dbx' [-Wmissing-prototypes]
__init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
^
vim +/get_handler_for_db +62 security/integrity/platform_certs/keyring_handler.c
57
58 /*
59 * Return the appropriate handler for particular signature list types found in
60 * the UEFI db and MokListRT tables.
61 */
> 62 __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
63 {
64 if (efi_guidcmp(*sig_type, efi_cert_x509_guid) == 0)
65 return add_to_platform_keyring;
66 return 0;
67 }
68
69 /*
70 * Return the appropriate handler for particular signature list types found in
71 * the UEFI dbx and MokListXRT tables.
72 */
> 73 __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34881 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db'
@ 2020-07-01 17:57 ` kernel test robot
0 siblings, 0 replies; 10+ messages in thread
From: kernel test robot @ 2020-07-01 17:57 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2084 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7c30b859a947535f2213277e827d7ac7dcff9c84
commit: ad723674d6758478829ee766e3f1a2a24d56236f x86/efi: move common keyring handler functions to new file
date: 8 months ago
config: i386-randconfig-r004-20200701 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce (this is a W=1 build):
git checkout ad723674d6758478829ee766e3f1a2a24d56236f
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db' [-Wmissing-prototypes]
__init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
^
>> security/integrity/platform_certs/keyring_handler.c:73:30: warning: no previous prototype for 'get_handler_for_dbx' [-Wmissing-prototypes]
__init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
^
vim +/get_handler_for_db +62 security/integrity/platform_certs/keyring_handler.c
57
58 /*
59 * Return the appropriate handler for particular signature list types found in
60 * the UEFI db and MokListRT tables.
61 */
> 62 __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
63 {
64 if (efi_guidcmp(*sig_type, efi_cert_x509_guid) == 0)
65 return add_to_platform_keyring;
66 return 0;
67 }
68
69 /*
70 * Return the appropriate handler for particular signature list types found in
71 * the UEFI dbx and MokListXRT tables.
72 */
> 73 __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34881 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2020-10-25 12:31 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-24 1:39 security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db' kernel test robot
2020-07-24 1:39 ` kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2020-10-25 12:28 kernel test robot
2020-10-25 12:28 ` kernel test robot
2020-10-04 3:09 kernel test robot
2020-10-04 3:09 ` kernel test robot
2020-08-16 13:26 kernel test robot
2020-08-16 13:26 ` kernel test robot
2020-07-01 17:57 kernel test robot
2020-07-01 17:57 ` 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.