[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202505021518.8HGGOavD-lkp@intel.com>
Date: Fri, 2 May 2025 16:33:58 +0800
From: kernel test robot <lkp@...el.com>
To: Thomas Andreatta <thomasandreatta2000@...il.com>, dpenkler@...il.com
Cc: oe-kbuild-all@...ts.linux.dev, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org, linux-staging@...ts.linux.dev,
Thomas Andreatta <thomas.andreatta2000@...il.com>
Subject: Re: [PATCH 2/8] Staging: gpib: Updated return type
`request_system_control`
Hi Thomas,
kernel test robot noticed the following build errors:
[auto build test ERROR on staging/staging-linus]
[also build test ERROR on linus/master v6.15-rc4]
[cannot apply to staging/staging-testing staging/staging-next next-20250501]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Thomas-Andreatta/Staging-gpib-agilent_82357a-changing-return-type-void-in-int/20250502-053306
base: staging/staging-linus
patch link: https://lore.kernel.org/r/28632a0bf5275553e929e8699830377069e921fa.1746133676.git.thomas.andreatta2000%40gmail.com
patch subject: [PATCH 2/8] Staging: gpib: Updated return type `request_system_control`
config: arm64-randconfig-003-20250502 (https://download.01.org/0day-ci/archive/20250502/202505021518.8HGGOavD-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250502/202505021518.8HGGOavD-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505021518.8HGGOavD-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/staging/gpib/eastwood/fluke_gpib.c:710:28: error: initialization of 'int (*)(struct gpib_board *, int)' from incompatible pointer type 'void (*)(struct gpib_board *, int)' [-Werror=incompatible-pointer-types]
.request_system_control = fluke_request_system_control,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/gpib/eastwood/fluke_gpib.c:710:28: note: (near initialization for 'fluke_unaccel_interface.request_system_control')
drivers/staging/gpib/eastwood/fluke_gpib.c:745:28: error: initialization of 'int (*)(struct gpib_board *, int)' from incompatible pointer type 'void (*)(struct gpib_board *, int)' [-Werror=incompatible-pointer-types]
.request_system_control = fluke_request_system_control,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/gpib/eastwood/fluke_gpib.c:745:28: note: (near initialization for 'fluke_hybrid_interface.request_system_control')
drivers/staging/gpib/eastwood/fluke_gpib.c:772:28: error: initialization of 'int (*)(struct gpib_board *, int)' from incompatible pointer type 'void (*)(struct gpib_board *, int)' [-Werror=incompatible-pointer-types]
.request_system_control = fluke_request_system_control,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/gpib/eastwood/fluke_gpib.c:772:28: note: (near initialization for 'fluke_interface.request_system_control')
cc1: some warnings being treated as errors
--
>> drivers/staging/gpib/fmh_gpib/fmh_gpib.c:1023:28: error: initialization of 'int (*)(struct gpib_board *, int)' from incompatible pointer type 'void (*)(struct gpib_board *, int)' [-Werror=incompatible-pointer-types]
.request_system_control = fmh_gpib_request_system_control,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/gpib/fmh_gpib/fmh_gpib.c:1023:28: note: (near initialization for 'fmh_gpib_unaccel_interface.request_system_control')
drivers/staging/gpib/fmh_gpib/fmh_gpib.c:1051:28: error: initialization of 'int (*)(struct gpib_board *, int)' from incompatible pointer type 'void (*)(struct gpib_board *, int)' [-Werror=incompatible-pointer-types]
.request_system_control = fmh_gpib_request_system_control,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/gpib/fmh_gpib/fmh_gpib.c:1051:28: note: (near initialization for 'fmh_gpib_interface.request_system_control')
drivers/staging/gpib/fmh_gpib/fmh_gpib.c:1079:28: error: initialization of 'int (*)(struct gpib_board *, int)' from incompatible pointer type 'void (*)(struct gpib_board *, int)' [-Werror=incompatible-pointer-types]
.request_system_control = fmh_gpib_request_system_control,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/gpib/fmh_gpib/fmh_gpib.c:1079:28: note: (near initialization for 'fmh_gpib_pci_interface.request_system_control')
drivers/staging/gpib/fmh_gpib/fmh_gpib.c:1107:28: error: initialization of 'int (*)(struct gpib_board *, int)' from incompatible pointer type 'void (*)(struct gpib_board *, int)' [-Werror=incompatible-pointer-types]
.request_system_control = fmh_gpib_request_system_control,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/gpib/fmh_gpib/fmh_gpib.c:1107:28: note: (near initialization for 'fmh_gpib_pci_unaccel_interface.request_system_control')
cc1: some warnings being treated as errors
vim +710 drivers/staging/gpib/eastwood/fluke_gpib.c
55936779f49612 Dave Penkler 2024-09-18 700
95cfc75234534b Dave Penkler 2025-01-11 701 static gpib_interface_t fluke_unaccel_interface = {
95cfc75234534b Dave Penkler 2025-01-11 702 .name = "fluke_unaccel",
95cfc75234534b Dave Penkler 2025-01-11 703 .attach = fluke_attach_holdoff_all,
95cfc75234534b Dave Penkler 2025-01-11 704 .detach = fluke_detach,
95cfc75234534b Dave Penkler 2025-01-11 705 .read = fluke_read,
95cfc75234534b Dave Penkler 2025-01-11 706 .write = fluke_write,
95cfc75234534b Dave Penkler 2025-01-11 707 .command = fluke_command,
95cfc75234534b Dave Penkler 2025-01-11 708 .take_control = fluke_take_control,
95cfc75234534b Dave Penkler 2025-01-11 709 .go_to_standby = fluke_go_to_standby,
95cfc75234534b Dave Penkler 2025-01-11 @710 .request_system_control = fluke_request_system_control,
95cfc75234534b Dave Penkler 2025-01-11 711 .interface_clear = fluke_interface_clear,
95cfc75234534b Dave Penkler 2025-01-11 712 .remote_enable = fluke_remote_enable,
95cfc75234534b Dave Penkler 2025-01-11 713 .enable_eos = fluke_enable_eos,
95cfc75234534b Dave Penkler 2025-01-11 714 .disable_eos = fluke_disable_eos,
95cfc75234534b Dave Penkler 2025-01-11 715 .parallel_poll = fluke_parallel_poll,
95cfc75234534b Dave Penkler 2025-01-11 716 .parallel_poll_configure = fluke_parallel_poll_configure,
95cfc75234534b Dave Penkler 2025-01-11 717 .parallel_poll_response = fluke_parallel_poll_response,
95cfc75234534b Dave Penkler 2025-01-11 718 .line_status = fluke_line_status,
95cfc75234534b Dave Penkler 2025-01-11 719 .update_status = fluke_update_status,
95cfc75234534b Dave Penkler 2025-01-11 720 .primary_address = fluke_primary_address,
95cfc75234534b Dave Penkler 2025-01-11 721 .secondary_address = fluke_secondary_address,
95cfc75234534b Dave Penkler 2025-01-11 722 .serial_poll_response = fluke_serial_poll_response,
95cfc75234534b Dave Penkler 2025-01-11 723 .serial_poll_status = fluke_serial_poll_status,
95cfc75234534b Dave Penkler 2025-01-11 724 .t1_delay = fluke_t1_delay,
95cfc75234534b Dave Penkler 2025-01-11 725 .return_to_local = fluke_return_to_local,
55936779f49612 Dave Penkler 2024-09-18 726 };
55936779f49612 Dave Penkler 2024-09-18 727
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists