All of lore.kernel.org
 help / color / mirror / Atom feed
* [atishp04:uefi_riscv_pr 4/6] drivers/video/fbdev/efifb.c:275:4: error: implicit declaration of function 'efifb_setup_from_dmi'
@ 2020-04-28  6:25 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-28  6:25 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 4691 bytes --]

tree:   https://github.com/atishp04/linux uefi_riscv_pr
head:   919538d7e19e085ee376f5d2300e14d8e6345218
commit: 47dfd752cad3470e10c3e93893439c7a69106f6b [4/6] RISC-V: Add EFI stub support.
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 47dfd752cad3470e10c3e93893439c7a69106f6b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=riscv 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/video/fbdev/efifb.c: In function 'efifb_setup':
>> drivers/video/fbdev/efifb.c:275:4: error: implicit declaration of function 'efifb_setup_from_dmi' [-Werror=implicit-function-declaration]
     275 |    efifb_setup_from_dmi(&screen_info, this_opt);
         |    ^~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/efifb_setup_from_dmi +275 drivers/video/fbdev/efifb.c

7c83172b98e569d drivers/video/efifb.c       Huang, Ying     2007-11-28  266  
e6816a8d8554944 drivers/video/efifb.c       David Herrmann  2013-08-02  267  static int efifb_setup(char *options)
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  268  {
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  269  	char *this_opt;
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  270  
b4aa0163056b6c7 drivers/video/efifb.c       Matthew Garrett 2012-04-16  271  	if (options && *options) {
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  272  		while ((this_opt = strsep(&options, ",")) != NULL) {
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  273  			if (!*this_opt) continue;
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  274  
21289ec02b41c4b drivers/video/fbdev/efifb.c Ard Biesheuvel  2016-04-25 @275  			efifb_setup_from_dmi(&screen_info, this_opt);
21289ec02b41c4b drivers/video/fbdev/efifb.c Ard Biesheuvel  2016-04-25  276  
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  277  			if (!strncmp(this_opt, "base:", 5))
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  278  				screen_info.lfb_base = simple_strtoul(this_opt+5, NULL, 0);
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  279  			else if (!strncmp(this_opt, "stride:", 7))
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  280  				screen_info.lfb_linelength = simple_strtoul(this_opt+7, NULL, 0) * 4;
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  281  			else if (!strncmp(this_opt, "height:", 7))
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  282  				screen_info.lfb_height = simple_strtoul(this_opt+7, NULL, 0);
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  283  			else if (!strncmp(this_opt, "width:", 6))
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  284  				screen_info.lfb_width = simple_strtoul(this_opt+6, NULL, 0);
dd0c41f8a7e0bab drivers/video/fbdev/efifb.c Dave Airlie     2017-07-31  285  			else if (!strcmp(this_opt, "nowc"))
38ac0287b7f4f39 drivers/video/fbdev/efifb.c Ard Biesheuvel  2018-07-11  286  				mem_flags &= ~EFI_MEMORY_WC;
cf7389b8095faba drivers/video/fbdev/efifb.c Hans de Goede   2018-09-26  287  			else if (!strcmp(this_opt, "nobgrt"))
cf7389b8095faba drivers/video/fbdev/efifb.c Hans de Goede   2018-09-26  288  				use_bgrt = false;
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  289  		}
b4aa0163056b6c7 drivers/video/efifb.c       Matthew Garrett 2012-04-16  290  	}
b4aa0163056b6c7 drivers/video/efifb.c       Matthew Garrett 2012-04-16  291  
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  292  	return 0;
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  293  }
7c08c9ae0c14580 drivers/video/efifb.c       Peter Jones     2008-10-15  294  

:::::: The code at line 275 was first introduced by commit
:::::: 21289ec02b41c4b928a0b3de1778b325d714eea3 x86/efi/efifb: Move DMI based quirks handling out of generic code

:::::: TO: Ard Biesheuvel <ard.biesheuvel@linaro.org>
:::::: CC: Ingo Molnar <mingo@kernel.org>

---
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: 63838 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-28  6:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28  6:25 [atishp04:uefi_riscv_pr 4/6] drivers/video/fbdev/efifb.c:275:4: error: implicit declaration of function 'efifb_setup_from_dmi' kbuild 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.