[efi:next 11/13] drivers/firmware/efi/libstub/efi-stub-helper.c:421:40: error: 'CONFIG_CMDLINE' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next
head:   d1dd38ec76a7b1be8f6d0861e149c1d52b784af4
commit: 187fdd765fd12cad29a80d084002e18e643a4d97 [11/13] efi/libstub: unify command line param parsing
config: x86_64-randconfig-x012-201713 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 187fdd765fd12cad29a80d084002e18e643a4d97
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/firmware/efi/libstub/efi-stub-helper.c: In function 'efi_parse_options':
>> drivers/firmware/efi/libstub/efi-stub-helper.c:421:40: error: 'CONFIG_CMDLINE' undeclared (first use in this function)
     static const char default_cmdline[] = CONFIG_CMDLINE;
                                           ^~~~~~~~~~~~~~
   drivers/firmware/efi/libstub/efi-stub-helper.c:421:40: note: each undeclared identifier is reported only once for each function it appears in

vim +/CONFIG_CMDLINE +421 drivers/firmware/efi/libstub/efi-stub-helper.c

   415	 * It should be noted that efi= is parsed in two very different
   416	 * environments, first in the early boot environment of the EFI boot
   417	 * stub, and subsequently during the kernel boot.
   418	 */
   419	efi_status_t efi_parse_options(char const *cmdline)
   420	{
 > 421		static const char default_cmdline[] = CONFIG_CMDLINE;
   422		char *str;
   423	
   424		if (IS_ENABLED(CONFIG_CMDLINE_FORCE))

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux