linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 2149/3040] drivers/gpu/drm/panel/panel-newvision-nv3052c.c:478:19: error: initialization of 'void (*)(struct spi_device *)' from incompatible pointer type 'int (*)(struct spi_device *)'
@ 2022-04-09  0:15 kernel test robot
  2022-04-09  9:52 ` Paul Cercueil
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-04-09  0:15 UTC (permalink / raw)
  To: Christophe Branchereau
  Cc: kbuild-all, Linux Memory Management List, Paul Cercueil,
	Sam Ravnborg

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   ff511c1c68a5a35ab0b3efb3c306fd80b10d74be
commit: 49956b505c53923723370a8960ae8fcd9e2b2116 [2149/3040] drm/panel: Add panel driver for NewVision NV3052C based LCDs
config: nios2-randconfig-r033-20220408 (https://download.01.org/0day-ci/archive/20220409/202204090833.kpGpCUaF-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.2.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
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=49956b505c53923723370a8960ae8fcd9e2b2116
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 49956b505c53923723370a8960ae8fcd9e2b2116
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash drivers/gpu/drm/panel/

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

Note: the linux-next/master HEAD ff511c1c68a5a35ab0b3efb3c306fd80b10d74be builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/panel/panel-newvision-nv3052c.c:478:19: error: initialization of 'void (*)(struct spi_device *)' from incompatible pointer type 'int (*)(struct spi_device *)' [-Werror=incompatible-pointer-types]
     478 |         .remove = nv3052c_remove,
         |                   ^~~~~~~~~~~~~~
   drivers/gpu/drm/panel/panel-newvision-nv3052c.c:478:19: note: (near initialization for 'nv3052c_driver.remove')
   cc1: some warnings being treated as errors


vim +478 drivers/gpu/drm/panel/panel-newvision-nv3052c.c

   471	
   472	static struct spi_driver nv3052c_driver = {
   473		.driver = {
   474			.name = "nv3052c",
   475			.of_match_table = nv3052c_of_match,
   476		},
   477		.probe = nv3052c_probe,
 > 478		.remove = nv3052c_remove,
   479	};
   480	module_spi_driver(nv3052c_driver);
   481	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-next:master 2149/3040] drivers/gpu/drm/panel/panel-newvision-nv3052c.c:478:19: error: initialization of 'void (*)(struct spi_device *)' from incompatible pointer type 'int (*)(struct spi_device *)'
  2022-04-09  0:15 [linux-next:master 2149/3040] drivers/gpu/drm/panel/panel-newvision-nv3052c.c:478:19: error: initialization of 'void (*)(struct spi_device *)' from incompatible pointer type 'int (*)(struct spi_device *)' kernel test robot
@ 2022-04-09  9:52 ` Paul Cercueil
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Cercueil @ 2022-04-09  9:52 UTC (permalink / raw)
  To: kernel test robot
  Cc: Christophe Branchereau, Stephen Rothwell, kbuild-all,
	Linux Memory Management List, Sam Ravnborg

Hi,

Sorry, I thought Stephen (Cc'd) already fixed it. Will send a patch 
ASAP.

Cheers,
-Paul

Le sam., avril 9 2022 at 08:15:02 +0800, kernel test robot 
<lkp@intel.com> a écrit :
> tree:   
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
> master
> head:   ff511c1c68a5a35ab0b3efb3c306fd80b10d74be
> commit: 49956b505c53923723370a8960ae8fcd9e2b2116 [2149/3040] 
> drm/panel: Add panel driver for NewVision NV3052C based LCDs
> config: nios2-randconfig-r033-20220408 
> (https://download.01.org/0day-ci/archive/20220409/202204090833.kpGpCUaF-lkp@intel.com/config)
> compiler: nios2-linux-gcc (GCC) 11.2.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
>         # 
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=49956b505c53923723370a8960ae8fcd9e2b2116
>         git remote add linux-next 
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout 49956b505c53923723370a8960ae8fcd9e2b2116
>         # save the config file to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 
> make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash 
> drivers/gpu/drm/panel/
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> Note: the linux-next/master HEAD 
> ff511c1c68a5a35ab0b3efb3c306fd80b10d74be builds fine.
>       It may have been fixed somewhere.
> 
> All errors (new ones prefixed by >>):
> 
>>>  drivers/gpu/drm/panel/panel-newvision-nv3052c.c:478:19: error: 
>>> initialization of 'void (*)(struct spi_device *)' from incompatible 
>>> pointer type 'int (*)(struct spi_device *)' 
>>> [-Werror=incompatible-pointer-types]
>      478 |         .remove = nv3052c_remove,
>          |                   ^~~~~~~~~~~~~~
>    drivers/gpu/drm/panel/panel-newvision-nv3052c.c:478:19: note: 
> (near initialization for 'nv3052c_driver.remove')
>    cc1: some warnings being treated as errors
> 
> 
> vim +478 drivers/gpu/drm/panel/panel-newvision-nv3052c.c
> 
>    471
>    472	static struct spi_driver nv3052c_driver = {
>    473		.driver = {
>    474			.name = "nv3052c",
>    475			.of_match_table = nv3052c_of_match,
>    476		},
>    477		.probe = nv3052c_probe,
>  > 478		.remove = nv3052c_remove,
>    479	};
>    480	module_spi_driver(nv3052c_driver);
>    481
> 
> --
> 0-DAY CI Kernel Test Service
> https://01.org/lkp




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-09  9:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-09  0:15 [linux-next:master 2149/3040] drivers/gpu/drm/panel/panel-newvision-nv3052c.c:478:19: error: initialization of 'void (*)(struct spi_device *)' from incompatible pointer type 'int (*)(struct spi_device *)' kernel test robot
2022-04-09  9:52 ` Paul Cercueil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).