From: kernel test robot <lkp@intel.com>
To: Thomas Andreatta <thomasandreatta2000@gmail.com>, dpenkler@gmail.com
Cc: oe-kbuild-all@lists.linux.dev, gregkh@linuxfoundation.org,
linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev,
Thomas Andreatta <thomas.andreatta2000@gmail.com>
Subject: Re: [PATCH 2/8] Staging: gpib: Updated return type `request_system_control`
Date: Fri, 2 May 2025 16:33:58 +0800 [thread overview]
Message-ID: <202505021518.8HGGOavD-lkp@intel.com> (raw)
In-Reply-To: <28632a0bf5275553e929e8699830377069e921fa.1746133676.git.thomas.andreatta2000@gmail.com>
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@intel.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
next prev parent reply other threads:[~2025-05-02 8:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-01 21:30 [PATCH 0/8] Staging: gpib: Update return types and error handling for request_system_control Thomas Andreatta
2025-05-01 21:30 ` [PATCH 1/8] Staging: gpib: agilent_82357a: changing return type void in int Thomas Andreatta
2025-05-02 7:16 ` Dan Carpenter
2025-05-02 7:35 ` Thomas Andreatta
2025-05-01 21:30 ` [PATCH 2/8] Staging: gpib: Updated return type `request_system_control` Thomas Andreatta
2025-05-02 8:33 ` kernel test robot [this message]
2025-05-02 9:25 ` kernel test robot
2025-05-01 21:30 ` [PATCH 3/8] Staging: gpib: Updated return type for `request_system_control` Thomas Andreatta
2025-05-01 21:30 ` [PATCH 4/8] Staging: gpib: Updated return type `ines_request_system_control` Thomas Andreatta
2025-05-01 21:30 ` [PATCH 5/8] Staging: gpib: Updated return type for `ines_request_system_control` Thomas Andreatta
2025-05-01 21:30 ` [PATCH 6/8] Staging: gpib: Updated return type for `request_system_control` Thomas Andreatta
2025-05-01 21:30 ` [PATCH 7/8] Staging: gpib: `request_system_control` error handling in resume Thomas Andreatta
2025-05-01 21:30 ` [PATCH 8/8] Staging: gpib: Optimize error handling in agilent_82357a_driver_resume Thomas Andreatta
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=202505021518.8HGGOavD-lkp@intel.com \
--to=lkp@intel.com \
--cc=dpenkler@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=thomas.andreatta2000@gmail.com \
--cc=thomasandreatta2000@gmail.com \
/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