[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202406290709.X77lx18x-lkp@intel.com>
Date: Sat, 29 Jun 2024 07:42:55 +0800
From: kernel test robot <lkp@...el.com>
To: Kamel Bouhara <kamel.bouhara@...tlin.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Henrik Rydberg <rydberg@...math.org>, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
Marco Felsch <m.felsch@...gutronix.de>,
Jeff LaBundy <jeff@...undy.com>
Cc: oe-kbuild-all@...ts.linux.dev, catalin.popescu@...ca-geosystems.com,
mark.satterthwaite@...chnetix.com,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
Gregory Clement <gregory.clement@...tlin.com>,
bsp-development.geo@...ca-geosystems.com,
Kamel Bouhara <kamel.bouhara@...tlin.com>
Subject: Re: [PATCH v15 3/3] Input: Add TouchNetix axiom i2c touchscreen
driver
Hi Kamel,
kernel test robot noticed the following build warnings:
[auto build test WARNING on dtor-input/next]
[also build test WARNING on robh/for-next krzk-dt/for-next linus/master v6.10-rc5 next-20240628]
[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/Kamel-Bouhara/dt-bindings-vendor-prefixes-Add-TouchNetix-AS/20240627-224824
base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
patch link: https://lore.kernel.org/r/20240627065434.4915-4-kamel.bouhara%40bootlin.com
patch subject: [PATCH v15 3/3] Input: Add TouchNetix axiom i2c touchscreen driver
config: x86_64-randconfig-121-20240629
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build):
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/202406290709.X77lx18x-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/input/touchscreen/touchnetix_axiom.c:182:50: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected unsigned int reg @@ got restricted __le32 [assigned] [usertype] preamble @@
drivers/input/touchscreen/touchnetix_axiom.c:182:50: sparse: expected unsigned int reg
drivers/input/touchscreen/touchnetix_axiom.c:182:50: sparse: got restricted __le32 [assigned] [usertype] preamble
vim +182 drivers/input/touchscreen/touchnetix_axiom.c
172
173 static int axiom_read(struct axiom_data *ts, u8 usage, u8 page, void *buf, u16 len)
174 {
175 union axiom_cmd_header cmd_header;
176 int ret;
177
178 cmd_header.head.target_address =
179 cpu_to_le16(axiom_usage_to_target_address(ts, usage, page, 0));
180 cmd_header.head.length = cpu_to_le16(len | AXIOM_CMD_HEADER_READ_MASK);
181
> 182 ret = regmap_write(ts->regmap, cmd_header.preamble, 0);
183 if (ret) {
184 dev_err(ts->dev, "failed to write preamble, error %d\n", ret);
185 return ret;
186 }
187
188 ret = regmap_raw_read(ts->regmap, 0, buf, len);
189 if (ret) {
190 dev_err(ts->dev, "failed to read target address %04x, error %d\n",
191 cmd_header.head.target_address, ret);
192 return ret;
193 }
194
195 return 0;
196 }
197
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
View attachment "reproduce" of type "text/plain" (857 bytes)
View attachment "config" of type "text/plain" (146849 bytes)
Powered by blists - more mailing lists