From: kernel test robot <lkp@intel.com>
To: Hendrik Noack <hendrik-noack@gmx.de>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Hendrik Noack <hendrik-noack@gmx.de>,
linux-input@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/2] Input: Add support for Wacom W9000-series penabled touchscreens
Date: Tue, 2 Dec 2025 18:48:24 +0800 [thread overview]
Message-ID: <202512021811.5UvbJjzl-lkp@intel.com> (raw)
In-Reply-To: <20251201170047.125307-1-hendrik-noack@gmx.de>
Hi Hendrik,
kernel test robot noticed the following build errors:
[auto build test ERROR on dtor-input/next]
[also build test ERROR on dtor-input/for-linus robh/for-next krzk-dt/for-next linus/master v6.18 next-20251202]
[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/Hendrik-Noack/dt-bindings-Input-Add-Wacom-W9000-series-penabled-touchscreens/20251202-010643
base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
patch link: https://lore.kernel.org/r/20251201170047.125307-1-hendrik-noack%40gmx.de
patch subject: [PATCH v2 2/2] Input: Add support for Wacom W9000-series penabled touchscreens
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20251202/202512021811.5UvbJjzl-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251202/202512021811.5UvbJjzl-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/202512021811.5UvbJjzl-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/input/touchscreen/wacom_w9000.c:99:28: error: call to undeclared function 'get_unaligned_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
99 | wacom_data->fw_version = get_unaligned_be16(&data[7]);
| ^
drivers/input/touchscreen/wacom_w9000.c:110:27: error: call to undeclared function 'get_unaligned_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
110 | wacom_data->prop.max_x = get_unaligned_be16(&data[1]);
| ^
drivers/input/touchscreen/wacom_w9000.c:150:7: error: call to undeclared function 'get_unaligned_be16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
150 | x = get_unaligned_be16(&data[1]);
| ^
3 errors generated.
vim +/get_unaligned_be16 +99 drivers/input/touchscreen/wacom_w9000.c
84
85 static int wacom_w9000_query(struct wacom_w9000_data *wacom_data)
86 {
87 struct i2c_client *client = wacom_data->client;
88 struct device *dev = &wacom_data->client->dev;
89 bool retried = false;
90 int ret;
91 u8 data[COM_QUERY_NUM_MAX];
92
93 retry:
94 ret = wacom_w9000_read(client, COM_QUERY, wacom_data->variant->com_query_num, data);
95 if (ret)
96 return ret;
97
98 if (data[0] == 0x0f) {
> 99 wacom_data->fw_version = get_unaligned_be16(&data[7]);
100 } else if (!retried) {
101 retried = true;
102 goto retry;
103 } else {
104 return -EIO;
105 }
106
107 dev_dbg(dev, "query: %X, %X, %X, %X, %X, %X, %X, %X, %X, %d\n", data[0], data[1], data[2],
108 data[3], data[4], data[5], data[6], data[7], data[8], retried);
109
110 wacom_data->prop.max_x = get_unaligned_be16(&data[1]);
111 wacom_data->prop.max_y = get_unaligned_be16(&data[3]);
112 wacom_data->max_pressure = get_unaligned_be16(&data[5]);
113
114 dev_dbg(dev, "max_x:%d, max_y:%d, max_pressure:%d, fw:0x%X", wacom_data->prop.max_x,
115 wacom_data->prop.max_y, wacom_data->max_pressure,
116 wacom_data->fw_version);
117
118 return 0;
119 }
120
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2025-12-02 10:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-01 13:31 [PATCH v2 0/2] Add support for Wacom W9000-series penabled touchscreens Hendrik Noack
2025-12-01 13:31 ` [PATCH v2 1/2] dt-bindings: Input: Add " Hendrik Noack
2025-12-01 20:44 ` Krzysztof Kozlowski
2025-12-01 17:00 ` [PATCH v2 2/2] Input: Add support for " Hendrik Noack
2025-12-02 10:48 ` kernel test robot [this message]
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=202512021811.5UvbJjzl-lkp@intel.com \
--to=lkp@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=hendrik-noack@gmx.de \
--cc=krzk@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh@kernel.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).