linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Paul Cercueil <paul@crapouillou.net>
To: kernel test robot <lkp@intel.com>
Cc: Christophe Branchereau <cbranchereau@gmail.com>,
	Stephen Rothwell <sfr@canb.auug.org.au>,
	kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Sam Ravnborg <sam@ravnborg.org>
Subject: 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 *)'
Date: Sat, 09 Apr 2022 10:52:35 +0100	[thread overview]
Message-ID: <NRG2AR.7CLWTASWMK721@crapouillou.net> (raw)
In-Reply-To: <202204090833.kpGpCUaF-lkp@intel.com>

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




      reply	other threads:[~2022-04-09  9:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-09  0:15 kernel test robot
2022-04-09  9:52 ` Paul Cercueil [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=NRG2AR.7CLWTASWMK721@crapouillou.net \
    --to=paul@crapouillou.net \
    --cc=cbranchereau@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=sam@ravnborg.org \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox