Hi Daniel,

kernel test robot noticed the following build warnings:

[auto build test WARNING on v6.6]
[cannot apply to arm64/for-next/core efi/next tip/x86/core robh/for-next 
linus/master next-20231110]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    
https://github.com/intel-lab-lkp/linux/commits/Daniel-Walker/CMDLINE-add-generic-builtin-command-line/20231110-094423
base:   v6.6
patch link:    
https://lore.kernel.org/r/20231110013817.2378507-6-danielwa%40cisco.com
patch subject: [PATCH 5/8] drivers: firmware: efi: libstub: enable generic 
commandline
config: loongarch-randconfig-002-20231110 
(https://download.01.org/0day-ci/archive/20231110/202311101224.evyh4zgy-...@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20231110/202311101224.evyh4zgy-...@intel.com/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 <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202311101224.evyh4zgy-...@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/firmware/efi/libstub/efi-stub-helper.c:43: warning: expecting 
>> prototype for efi_handle_cmdline(). Prototype was for 
>> efi_handle_builtin_cmdline() instead
   drivers/firmware/efi/libstub/efi-stub-helper.c:592: warning: Function 
parameter or member 'out' not described in 'efi_load_initrd'


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

    32  
    33  /**
    34   * efi_handle_cmdline() - handle adding in built-in parts of the 
command line
    35   * @cmdline:    kernel command line
    36   *
    37   * Add in the generic parts of the commandline and start the parsing of 
the
    38   * command line.
    39   *
    40   * Return:      status code
    41   */
    42  efi_status_t efi_handle_builtin_cmdline(char const *cmdline)
  > 43  {
    44          efi_status_t status = EFI_SUCCESS;
    45  
    46          if (sizeof(CMDLINE_STATIC_PREPEND) > 1)
    47                  status |= efi_parse_options(CMDLINE_STATIC_PREPEND);
    48  
    49          if (!IS_ENABLED(CONFIG_CMDLINE_OVERRIDE))
    50                  status |= efi_parse_options(cmdline);
    51  
    52          if (sizeof(CMDLINE_STATIC_APPEND) > 1)
    53                  status |= efi_parse_options(CMDLINE_STATIC_APPEND);
    54  
    55          if (status != EFI_SUCCESS)
    56                  efi_err("Failed to parse options\n");
    57  
    58          return status;
    59  }
    60  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to