public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dave Airlie <airlied@redhat.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-renesas-soc@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [geert-renesas-drivers:master 64/99] drivers/gpu/drm/tiny/panel-mipi-dbi.c:391:12: error: incompatible function pointer types initializing 'void (*)(struct spi_device *)' with an expression of type 'int (struct spi_device *)'
Date: Wed, 23 Mar 2022 02:48:41 +0800	[thread overview]
Message-ID: <202203230213.cy4sjibp-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git master
head:   6a5d6020e6854b38797ea17807457dcdc858aa29
commit: a3b63172d757ac1a27e1f179585052f38e0ddd8c [64/99] Merge remote-tracking branch 'drm/drm-next' into renesas-drivers
config: hexagon-randconfig-r045-20220322 (https://download.01.org/0day-ci/archive/20220323/202203230213.cy4sjibp-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 85e9b2687a13d1908aa86d1b89c5ce398a06cd39)
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/geert/renesas-drivers.git/commit/?id=a3b63172d757ac1a27e1f179585052f38e0ddd8c
        git remote add geert-renesas-drivers https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git
        git fetch --no-tags geert-renesas-drivers master
        git checkout a3b63172d757ac1a27e1f179585052f38e0ddd8c
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/gpu/drm/tiny/

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

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/tiny/panel-mipi-dbi.c:391:12: error: incompatible function pointer types initializing 'void (*)(struct spi_device *)' with an expression of type 'int (struct spi_device *)' [-Werror,-Wincompatible-function-pointer-types]
           .remove = panel_mipi_dbi_spi_remove,
                     ^~~~~~~~~~~~~~~~~~~~~~~~~
   1 error generated.


vim +391 drivers/gpu/drm/tiny/panel-mipi-dbi.c

0e65e2e6abb09d8 Noralf Trønnes 2022-02-27  381  
0e65e2e6abb09d8 Noralf Trønnes 2022-02-27  382  static struct spi_driver panel_mipi_dbi_spi_driver = {
0e65e2e6abb09d8 Noralf Trønnes 2022-02-27  383  	.driver = {
0e65e2e6abb09d8 Noralf Trønnes 2022-02-27  384  		.name = "panel-mipi-dbi-spi",
0e65e2e6abb09d8 Noralf Trønnes 2022-02-27  385  		.owner = THIS_MODULE,
0e65e2e6abb09d8 Noralf Trønnes 2022-02-27  386  		.of_match_table = panel_mipi_dbi_spi_of_match,
0e65e2e6abb09d8 Noralf Trønnes 2022-02-27  387  		.pm = &panel_mipi_dbi_pm_ops,
0e65e2e6abb09d8 Noralf Trønnes 2022-02-27  388  	},
0e65e2e6abb09d8 Noralf Trønnes 2022-02-27  389  	.id_table = panel_mipi_dbi_spi_id,
0e65e2e6abb09d8 Noralf Trønnes 2022-02-27  390  	.probe = panel_mipi_dbi_spi_probe,
0e65e2e6abb09d8 Noralf Trønnes 2022-02-27 @391  	.remove = panel_mipi_dbi_spi_remove,
0e65e2e6abb09d8 Noralf Trønnes 2022-02-27  392  	.shutdown = panel_mipi_dbi_spi_shutdown,
0e65e2e6abb09d8 Noralf Trønnes 2022-02-27  393  };
0e65e2e6abb09d8 Noralf Trønnes 2022-02-27  394  module_spi_driver(panel_mipi_dbi_spi_driver);
0e65e2e6abb09d8 Noralf Trønnes 2022-02-27  395  

:::::: The code at line 391 was first introduced by commit
:::::: 0e65e2e6abb09d84a75c51999e3a6cf80f30c929 drm/tiny: Add MIPI DBI compatible SPI driver

:::::: TO: Noralf Trønnes <noralf@tronnes.org>
:::::: CC: Maxime Ripard <maxime@cerno.tech>

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

                 reply	other threads:[~2022-03-22 18:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202203230213.cy4sjibp-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=airlied@redhat.com \
    --cc=geert+renesas@glider.be \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    /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