lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 2 Jul 2020 01:57:45 +0800
From:   kernel test robot <lkp@...el.com>
To:     Nayna Jain <nayna@...ux.ibm.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Michael Ellerman <mpe@...erman.id.au>,
        Eric Richter <erichte@...ux.ibm.com>
Subject: security/integrity/platform_certs/keyring_handler.c:62:30: warning:
 no previous prototype for 'get_handler_for_db'

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@...el.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

Download attachment ".config.gz" of type "application/gzip" (34881 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ