* drivers/input/touchscreen/ili210x.c:664 ili251x_firmware_busy() error: uninitialized symbol 'data'.
@ 2021-12-07 3:34 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-07 3:34 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2860 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Marek Vasut <marex@denx.de>
CC: Dmitry Torokhov <dmitry.torokhov@gmail.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: cd8c917a56f20f48748dd43d9ae3caff51d5b987
commit: c6ac8f0b4ca927316eb40e1e9ba83df5d29f3793 Input: ili210x - add ili251x firmware update support
date: 7 weeks ago
:::::: branch date: 3 hours ago
:::::: commit date: 7 weeks ago
config: x86_64-randconfig-m001-20211206 (https://download.01.org/0day-ci/archive/20211207/202112071130.VjoibOrG-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
New smatch warnings:
drivers/input/touchscreen/ili210x.c:664 ili251x_firmware_busy() error: uninitialized symbol 'data'.
Old smatch warnings:
drivers/input/touchscreen/ili210x.c:600 ili251x_firmware_to_buffer() error: uninitialized symbol 'fw_addr'.
drivers/input/touchscreen/ili210x.c:600 ili251x_firmware_to_buffer() error: uninitialized symbol 'fw_len'.
drivers/input/touchscreen/ili210x.c:690 ili251x_firmware_write_to_ic() warn: right shifting more than type allows 16 vs 16
drivers/input/touchscreen/ili210x.c:691 ili251x_firmware_write_to_ic() warn: right shifting more than type allows 16 vs 16
vim +/data +664 drivers/input/touchscreen/ili210x.c
c6ac8f0b4ca927 Marek Vasut 2021-10-16 650
c6ac8f0b4ca927 Marek Vasut 2021-10-16 651 static int ili251x_firmware_busy(struct i2c_client *client)
c6ac8f0b4ca927 Marek Vasut 2021-10-16 652 {
c6ac8f0b4ca927 Marek Vasut 2021-10-16 653 struct ili210x *priv = i2c_get_clientdata(client);
c6ac8f0b4ca927 Marek Vasut 2021-10-16 654 int error, i = 0;
c6ac8f0b4ca927 Marek Vasut 2021-10-16 655 u8 data;
c6ac8f0b4ca927 Marek Vasut 2021-10-16 656
c6ac8f0b4ca927 Marek Vasut 2021-10-16 657 do {
c6ac8f0b4ca927 Marek Vasut 2021-10-16 658 /* The read_reg already contains suitable delay */
c6ac8f0b4ca927 Marek Vasut 2021-10-16 659 error = priv->chip->read_reg(client, REG_IC_BUSY, &data, 1);
c6ac8f0b4ca927 Marek Vasut 2021-10-16 660 if (error)
c6ac8f0b4ca927 Marek Vasut 2021-10-16 661 return error;
c6ac8f0b4ca927 Marek Vasut 2021-10-16 662 if (i++ == 100000)
c6ac8f0b4ca927 Marek Vasut 2021-10-16 663 return -ETIMEDOUT;
c6ac8f0b4ca927 Marek Vasut 2021-10-16 @664 } while (data != REG_IC_BUSY_NOT_BUSY);
c6ac8f0b4ca927 Marek Vasut 2021-10-16 665
c6ac8f0b4ca927 Marek Vasut 2021-10-16 666 return 0;
c6ac8f0b4ca927 Marek Vasut 2021-10-16 667 }
c6ac8f0b4ca927 Marek Vasut 2021-10-16 668
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-07 3:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-07 3:34 drivers/input/touchscreen/ili210x.c:664 ili251x_firmware_busy() error: uninitialized symbol 'data' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.