llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [geert-renesas-drivers:master 12/17] drivers/gpio/gpio-sloppy-logic-analyzer.c:316:12: error: incompatible function pointer types initializing 'void (*)(struct platform_device *)' with an expression of type 'int (struct platform_device *)'
@ 2024-06-12  0:11 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-12  0:11 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: llvm, oe-kbuild-all, linux-renesas-soc, Geert Uytterhoeven

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git master
head:   fdbb3ef0d4aadf9a3374c2a892098be89e9a3abb
commit: 7eead7ebd4fa6978d3b020b2615f0680a7e98c5e [12/17] gpio: add sloppy logic analyzer using polling
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20240612/202406120838.jD62wG3D-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 4403cdbaf01379de96f8d0d6ea4f51a085e37766)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240612/202406120838.jD62wG3D-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202406120838.jD62wG3D-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpio/gpio-sloppy-logic-analyzer.c:316:12: error: incompatible function pointer types initializing 'void (*)(struct platform_device *)' with an expression of type 'int (struct platform_device *)' [-Wincompatible-function-pointer-types]
     316 |         .remove = gpio_la_poll_remove,
         |                   ^~~~~~~~~~~~~~~~~~~
   1 error generated.


vim +316 drivers/gpio/gpio-sloppy-logic-analyzer.c

   313	
   314	static struct platform_driver gpio_la_poll_device_driver = {
   315		.probe = gpio_la_poll_probe,
 > 316		.remove = gpio_la_poll_remove,
   317		.driver = {
   318			.name = GPIO_LA_NAME,
   319			.of_match_table = gpio_la_poll_of_match,
   320		}
   321	};
   322	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2024-06-12  0:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-12  0:11 [geert-renesas-drivers:master 12/17] drivers/gpio/gpio-sloppy-logic-analyzer.c:316:12: error: incompatible function pointer types initializing 'void (*)(struct platform_device *)' with an expression of type 'int (struct platform_device *)' kernel test robot

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).