tree:
git://git.infradead.org/users/hch/misc.git vgaarb-cleanups
head: 06ce75527991e82573f5127a13dd1550c3045c35
commit: 06ce75527991e82573f5127a13dd1550c3045c35 [4/4] vgaarb: remove the unused
irq_set_state argument to vga_client_register
config: arc-randconfig-r024-20210315 (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add hch-misc
git://git.infradead.org/users/hch/misc.git
git fetch --no-tags hch-misc vgaarb-cleanups
git checkout 06ce75527991e82573f5127a13dd1550c3045c35
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/drm/drm_fb_helper.h:39,
from drivers/gpu/drm/drm_crtc_helper.c:45:
include/linux/vgaarb.h: In function 'vga_client_unregister':
> include/linux/vgaarb.h:136:2: error: too many arguments to
function 'vga_client_register'
136 | vga_client_register(pdev, NULL,
NULL, NULL);
| ^~~~~~~~~~~~~~~~~~~
include/linux/vgaarb.h:127:19: note: declared here
127 | static inline int vga_client_register(struct pci_dev *pdev, void *cookie,
| ^~~~~~~~~~~~~~~~~~~
vim +/vga_client_register +136 include/linux/vgaarb.h
deb2d2ecd43dfc Benjamin Herrenschmidt 2009-08-11 133
c6dc15a5e8f729 Christoph Hellwig 2021-03-15 134 static inline void
vga_client_unregister(struct pci_dev *pdev)
c6dc15a5e8f729 Christoph Hellwig 2021-03-15 135 {
c6dc15a5e8f729 Christoph Hellwig 2021-03-15 @136 vga_client_register(pdev, NULL,
NULL, NULL);
c6dc15a5e8f729 Christoph Hellwig 2021-03-15 137
:::::: The code at line 136 was first introduced by commit
:::::: c6dc15a5e8f729a599d8becc7b44e55908b9753e vgaarb: provide a vga_client_unregister
wrapper
:::::: TO: Christoph Hellwig <hch(a)lst.de>
:::::: CC: Christoph Hellwig <hch(a)lst.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org