From: kernel test robot <lkp@intel.com>
To: Heiko Stuebner <heiko@sntech.de>, lee@kernel.org
Cc: oe-kbuild-all@lists.linux.dev, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org, jdelvare@suse.com,
linux@roeck-us.net, heiko@sntech.de, dmitry.torokhov@gmail.com,
pavel@ucw.cz, ukleinek@debian.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-input@vger.kernel.org,
linux-leds@vger.kernel.org
Subject: Re: [PATCH v7 1/8] mfd: core: make platform_data pointer const in struct mfd_cell
Date: Sat, 7 Sep 2024 20:04:56 +0800 [thread overview]
Message-ID: <202409071933.IYm8oa1N-lkp@intel.com> (raw)
In-Reply-To: <20240905185232.2899464-2-heiko@sntech.de>
Hi Heiko,
kernel test robot noticed the following build warnings:
[auto build test WARNING on next-20240905]
[also build test WARNING on v6.11-rc6]
[cannot apply to lee-mfd/for-mfd-next groeck-staging/hwmon-next lee-leds/for-leds-next linus/master lee-mfd/for-mfd-fixes v6.11-rc6 v6.11-rc5 v6.11-rc4]
[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/Heiko-Stuebner/mfd-core-make-platform_data-pointer-const-in-struct-mfd_cell/20240906-025553
base: next-20240905
patch link: https://lore.kernel.org/r/20240905185232.2899464-2-heiko%40sntech.de
patch subject: [PATCH v7 1/8] mfd: core: make platform_data pointer const in struct mfd_cell
config: arm-randconfig-001-20240907 (https://download.01.org/0day-ci/archive/20240907/202409071933.IYm8oa1N-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240907/202409071933.IYm8oa1N-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/202409071933.IYm8oa1N-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/hid/hid-sensor-hub.c: In function 'sensor_hub_remove':
>> drivers/hid/hid-sensor-hub.c:745:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
745 | data->hid_sensor_hub_client_devs[i].platform_data;
| ^~~~
vim +/const +745 drivers/hid/hid-sensor-hub.c
401ca24fb34aee srinivas pandruvada 2012-09-05 732
401ca24fb34aee srinivas pandruvada 2012-09-05 733 static void sensor_hub_remove(struct hid_device *hdev)
401ca24fb34aee srinivas pandruvada 2012-09-05 734 {
401ca24fb34aee srinivas pandruvada 2012-09-05 735 struct sensor_hub_data *data = hid_get_drvdata(hdev);
401ca24fb34aee srinivas pandruvada 2012-09-05 736 unsigned long flags;
e651a1da442ae0 Srinivas Pandruvada 2015-02-19 737 int i;
401ca24fb34aee srinivas pandruvada 2012-09-05 738
401ca24fb34aee srinivas pandruvada 2012-09-05 739 hid_dbg(hdev, " hardware removed\n");
401ca24fb34aee srinivas pandruvada 2012-09-05 740 hid_hw_close(hdev);
f2f13a68c37c13 Axel Lin 2012-09-19 741 hid_hw_stop(hdev);
401ca24fb34aee srinivas pandruvada 2012-09-05 742 spin_lock_irqsave(&data->lock, flags);
e651a1da442ae0 Srinivas Pandruvada 2015-02-19 743 for (i = 0; i < data->hid_sensor_client_cnt; ++i) {
e651a1da442ae0 Srinivas Pandruvada 2015-02-19 744 struct hid_sensor_hub_device *hsdev =
e651a1da442ae0 Srinivas Pandruvada 2015-02-19 @745 data->hid_sensor_hub_client_devs[i].platform_data;
e651a1da442ae0 Srinivas Pandruvada 2015-02-19 746 if (hsdev->pending.status)
e651a1da442ae0 Srinivas Pandruvada 2015-02-19 747 complete(&hsdev->pending.ready);
e651a1da442ae0 Srinivas Pandruvada 2015-02-19 748 }
401ca24fb34aee srinivas pandruvada 2012-09-05 749 spin_unlock_irqrestore(&data->lock, flags);
401ca24fb34aee srinivas pandruvada 2012-09-05 750 mfd_remove_devices(&hdev->dev);
401ca24fb34aee srinivas pandruvada 2012-09-05 751 mutex_destroy(&data->mutex);
401ca24fb34aee srinivas pandruvada 2012-09-05 752 }
401ca24fb34aee srinivas pandruvada 2012-09-05 753
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-09-07 12:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-05 18:52 [PATCH v7 0/8] Drivers to support the MCU on QNAP NAS devices Heiko Stuebner
2024-09-05 18:52 ` [PATCH v7 1/8] mfd: core: make platform_data pointer const in struct mfd_cell Heiko Stuebner
2024-09-07 12:04 ` kernel test robot [this message]
2024-09-08 8:22 ` kernel test robot
2024-09-05 18:52 ` [PATCH v7 2/8] dt-bindings: mfd: add binding for qnap,ts433-mcu devices Heiko Stuebner
2024-09-05 18:52 ` [PATCH v7 3/8] mfd: add base driver for qnap-mcu devices Heiko Stuebner
2024-09-05 18:52 ` [PATCH v7 4/8] leds: add driver for LEDs from " Heiko Stuebner
2024-09-05 18:52 ` [PATCH v7 5/8] Input: add driver for the input part of " Heiko Stuebner
2024-09-05 18:52 ` [PATCH v7 6/8] hwmon: add driver for the hwmon parts " Heiko Stuebner
2024-09-05 18:52 ` [PATCH v7 7/8] arm64: dts: rockchip: hook up the MCU on the QNAP TS433 Heiko Stuebner
2024-09-05 18:52 ` [PATCH v7 8/8] arm64: dts: rockchip: set hdd led labels on qnap-ts433 Heiko Stuebner
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=202409071933.IYm8oa1N-lkp@intel.com \
--to=lkp@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=heiko@sntech.de \
--cc=jdelvare@suse.com \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux@roeck-us.net \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pavel@ucw.cz \
--cc=robh@kernel.org \
--cc=ukleinek@debian.org \
/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;
as well as URLs for NNTP newsgroup(s).