From: kernel test robot <lkp@intel.com>
To: Nikita Travkin <nikita@trvn.ru>
Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org,
Linus Walleij <linus.walleij@linaro.org>
Subject: [linusw-nomadik:ux500-codina-v5.16-rc1 9/13] drivers/input/touchscreen/zinitix.c:350:57: sparse: sparse: restricted __le16 degrades to integer
Date: Tue, 23 Nov 2021 09:20:17 +0800 [thread overview]
Message-ID: <202111230907.PACEP0jw-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2016 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ux500-codina-v5.16-rc1
head: 42e60e4fad4a27cf181b80c189e74ba496854906
commit: e48e58bddfa67a7b028733aa2c1b127bae545d00 [9/13] input: touchscreen: zinitix: Add touchkey support
config: riscv-randconfig-s031-20211122 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git/commit/?id=e48e58bddfa67a7b028733aa2c1b127bae545d00
git remote add linusw-nomadik https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
git fetch --no-tags linusw-nomadik ux500-codina-v5.16-rc1
git checkout e48e58bddfa67a7b028733aa2c1b127bae545d00
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=riscv SHELL=/bin/bash drivers/input/touchscreen/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/input/touchscreen/zinitix.c:350:57: sparse: sparse: restricted __le16 degrades to integer
drivers/input/touchscreen/zinitix.c:371:24: sparse: sparse: restricted __le16 degrades to integer
vim +350 drivers/input/touchscreen/zinitix.c
343
344 static void zinitix_report_keys(struct bt541_ts_data *bt541, __le16 icon_events)
345 {
346 int i;
347
348 for (i = 0; i < bt541->num_keycodes; i++)
349 input_report_key(bt541->input_dev,
> 350 bt541->keycodes[i], !!(icon_events & BIT(i)));
351 }
352
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35534 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linusw-nomadik:ux500-codina-v5.16-rc1 9/13] drivers/input/touchscreen/zinitix.c:350:57: sparse: sparse: restricted __le16 degrades to integer
Date: Tue, 23 Nov 2021 09:20:17 +0800 [thread overview]
Message-ID: <202111230907.PACEP0jw-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2059 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ux500-codina-v5.16-rc1
head: 42e60e4fad4a27cf181b80c189e74ba496854906
commit: e48e58bddfa67a7b028733aa2c1b127bae545d00 [9/13] input: touchscreen: zinitix: Add touchkey support
config: riscv-randconfig-s031-20211122 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git/commit/?id=e48e58bddfa67a7b028733aa2c1b127bae545d00
git remote add linusw-nomadik https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
git fetch --no-tags linusw-nomadik ux500-codina-v5.16-rc1
git checkout e48e58bddfa67a7b028733aa2c1b127bae545d00
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=riscv SHELL=/bin/bash drivers/input/touchscreen/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/input/touchscreen/zinitix.c:350:57: sparse: sparse: restricted __le16 degrades to integer
drivers/input/touchscreen/zinitix.c:371:24: sparse: sparse: restricted __le16 degrades to integer
vim +350 drivers/input/touchscreen/zinitix.c
343
344 static void zinitix_report_keys(struct bt541_ts_data *bt541, __le16 icon_events)
345 {
346 int i;
347
348 for (i = 0; i < bt541->num_keycodes; i++)
349 input_report_key(bt541->input_dev,
> 350 bt541->keycodes[i], !!(icon_events & BIT(i)));
351 }
352
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35534 bytes --]
next reply other threads:[~2021-11-23 1:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-23 1:20 kernel test robot [this message]
2021-11-23 1:20 ` [linusw-nomadik:ux500-codina-v5.16-rc1 9/13] drivers/input/touchscreen/zinitix.c:350:57: sparse: sparse: restricted __le16 degrades to integer kernel test robot
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=202111230907.PACEP0jw-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=nikita@trvn.ru \
/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 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.