Hi Alexander,

[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.5-rc3 next-20160209]
[cannot apply to tip/auto-latest]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:    
https://github.com/0day-ci/linux/commits/Alexander-Kuleshov/x86-setup-get-ramdisk-parameters-only-once/20160209-210207
config: i386-alldefconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   arch/x86/kernel/setup.c: In function 'setup_arch':
>> arch/x86/kernel/setup.c:839:12: error: implicit declaration of function 
>> 'get_ramdisk_image' [-Werror=implicit-function-declaration]
      .image = get_ramdisk_image(),
               ^
>> arch/x86/kernel/setup.c:840:12: error: implicit declaration of function 
>> 'get_ramdisk_size' [-Werror=implicit-function-declaration]
      .size  = get_ramdisk_size(),
               ^
   cc1: some warnings being treated as errors

vim +/get_ramdisk_image +839 arch/x86/kernel/setup.c

   833   *
   834   * Note: On x86_64, fixmaps are ready for use even before this is 
called.
   835   */
   836  void __init setup_arch(char **cmdline_p)
   837  {
   838          struct ramdisk ramdisk_image = {
 > 839                  .image = get_ramdisk_image(),
 > 840                  .size  = get_ramdisk_size(),
   841                  /* Assume only end is not page aligned */
   842                  .end = PAGE_ALIGN(ramdisk_image.image + 
ramdisk_image.size)
   843          };

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

Attachment: .config.gz
Description: Binary data

Reply via email to