From: kernel test robot <lkp@intel.com>
To: Cryolitia PukNgae via B4 Relay
<devnull+Cryolitia.gmail.com@kernel.org>,
Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>,
Cryolitia PukNgae <Cryolitia@gmail.com>,
Jonathan Corbet <corbet@lwn.net>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org,
"Celeste Liu" <CoelacanthusHex@gmail.com>,
"Yao Zi" <ziyao@disroot.org>,
"Marcin Strągowski" <marcin@stragowski.com>
Subject: Re: [PATCH v4 1/2] hwmon: add GPD devices sensor driver
Date: Fri, 19 Jul 2024 02:04:41 +0800 [thread overview]
Message-ID: <202407190105.hnZaypzI-lkp@intel.com> (raw)
In-Reply-To: <20240718-gpd_fan-v4-1-116e5431a9fe@gmail.com>
Hi Cryolitia,
kernel test robot noticed the following build warnings:
[auto build test WARNING on d67978318827d06f1c0fa4c31343a279e9df6fde]
url: https://github.com/intel-lab-lkp/linux/commits/Cryolitia-PukNgae-via-B4-Relay/hwmon-add-GPD-devices-sensor-driver/20240718-104420
base: d67978318827d06f1c0fa4c31343a279e9df6fde
patch link: https://lore.kernel.org/r/20240718-gpd_fan-v4-1-116e5431a9fe%40gmail.com
patch subject: [PATCH v4 1/2] hwmon: add GPD devices sensor driver
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20240719/202407190105.hnZaypzI-lkp@intel.com/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240719/202407190105.hnZaypzI-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/202407190105.hnZaypzI-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/hwmon/gpd-fan.c:153:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
153 | .driver_data = &gpd_win_mini_quirk,
| ^
drivers/hwmon/gpd-fan.c:162:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
162 | .driver_data = &gpd_win4_quirk,
| ^
drivers/hwmon/gpd-fan.c:171:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
171 | .driver_data = &gpd_wm2_quirk,
| ^
drivers/hwmon/gpd-fan.c:181:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
181 | .driver_data = &gpd_wm2_quirk,
| ^
vim +/const +153 drivers/hwmon/gpd-fan.c
144
145 static const struct dmi_system_id gpd_devices[] = {
146 {
147 // GPD Win Mini
148 // GPD Win Mini with AMD Ryzen 8840U
149 .matches = {
150 DMI_MATCH(DMI_SYS_VENDOR, "GPD"),
151 DMI_MATCH(DMI_PRODUCT_NAME, "G1617-01")
152 },
> 153 .driver_data = &gpd_win_mini_quirk,
154 },
155 {
156 // GPD Win 4 with AMD Ryzen 6800U
157 .matches = {
158 DMI_MATCH(DMI_SYS_VENDOR, "GPD"),
159 DMI_MATCH(DMI_PRODUCT_NAME, "G1618-04"),
160 DMI_MATCH(DMI_BOARD_VERSION, "Default string"),
161 },
162 .driver_data = &gpd_win4_quirk,
163 },
164 {
165 // GPD Win 4 with Ryzen 7840U
166 .matches = {
167 DMI_MATCH(DMI_SYS_VENDOR, "GPD"),
168 DMI_MATCH(DMI_PRODUCT_NAME, "G1618-04"),
169 DMI_MATCH(DMI_BOARD_VERSION, "Ver. 1.0"),
170 },
171 .driver_data = &gpd_wm2_quirk,
172 },
173 {
174 // GPD Win Max 2 with Ryzen 6800U
175 // GPD Win Max 2 2023 with Ryzen 7840U
176 // GPD Win Max 2 2024 with Ryzen 8840U
177 .matches = {
178 DMI_MATCH(DMI_SYS_VENDOR, "GPD"),
179 DMI_MATCH(DMI_PRODUCT_NAME, "G1619-04"),
180 },
181 .driver_data = &gpd_wm2_quirk,
182 },
183 {}
184 };
185
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-07-18 18:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-18 2:22 [PATCH v4 0/2] hwmon: add GPD devices sensor driver Cryolitia PukNgae via B4 Relay
2024-07-18 2:22 ` [PATCH v4 1/2] " Cryolitia PukNgae via B4 Relay
2024-07-18 18:04 ` kernel test robot [this message]
2024-07-18 21:30 ` kernel test robot
2024-07-19 1:41 ` Guenter Roeck
2024-07-22 7:59 ` Cryolitia PukNgae
2024-07-18 2:22 ` [PATCH v4 2/2] hwmon: document: add gpd-fan Cryolitia PukNgae via B4 Relay
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=202407190105.hnZaypzI-lkp@intel.com \
--to=lkp@intel.com \
--cc=CoelacanthusHex@gmail.com \
--cc=Cryolitia@gmail.com \
--cc=corbet@lwn.net \
--cc=devnull+Cryolitia.gmail.com@kernel.org \
--cc=jdelvare@suse.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=marcin@stragowski.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ziyao@disroot.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