From: kernel test robot <lkp@intel.com>
To: Chen-Yu Tsai <wenst@chromium.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [wens:mtk-wip 45/45] drivers/platform/chrome/chromeos_of_hw_prober.c:197:38: warning: unused variable 'chromeos_i2c_probe_simple_trackpad_cfg'
Date: Sat, 14 Sep 2024 14:14:42 +0800 [thread overview]
Message-ID: <202409141404.gwkpFNUq-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/wens/linux.git mtk-wip
head: 42c21929aeb3c7ca7b0ce9cacb1d0ff915d3c783
commit: 42c21929aeb3c7ca7b0ce9cacb1d0ff915d3c783 [45/45] hana trackpad probe rework
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20240914/202409141404.gwkpFNUq-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240914/202409141404.gwkpFNUq-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/202409141404.gwkpFNUq-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/platform/chrome/chromeos_of_hw_prober.c:197:38: warning: unused variable 'chromeos_i2c_probe_simple_trackpad_cfg' [-Wunused-const-variable]
197 | static const struct i2c_of_probe_cfg chromeos_i2c_probe_simple_trackpad_cfg = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/platform/chrome/chromeos_of_hw_prober.c:207:45: warning: unused variable 'chromeos_i2c_probe_hana_trackpad' [-Wunused-const-variable]
207 | static const struct chromeos_i2c_probe_data chromeos_i2c_probe_hana_trackpad = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for OMAP2PLUS_MBOX
Depends on [n]: MAILBOX [=y] && (ARCH_OMAP2PLUS || ARCH_K3)
Selected by [y]:
- TI_K3_M4_REMOTEPROC [=y] && REMOTEPROC [=y] && (ARCH_K3 || COMPILE_TEST [=y])
vim +/chromeos_i2c_probe_simple_trackpad_cfg +197 drivers/platform/chrome/chromeos_of_hw_prober.c
196
> 197 static const struct i2c_of_probe_cfg chromeos_i2c_probe_simple_trackpad_cfg = {
198 .ops = &i2c_of_probe_simple_ops,
199 .type = "trackpad"
200 };
201
202 static const struct i2c_of_probe_cfg chromeos_i2c_probe_simple_touchscreen_cfg = {
203 .ops = &i2c_of_probe_simple_ops,
204 .type = "touchscreen"
205 };
206
> 207 static const struct chromeos_i2c_probe_data chromeos_i2c_probe_hana_trackpad = {
208 .cfg = &chromeos_i2c_probe_simple_touchscreen_cfg,
209 .opts = &(const struct i2c_of_probe_simple_opts) {
210 .res_node_compatible = "elan,ekth3000",
211 .supply_name = "vcc",
212 .post_power_on_delay_ms = 1,
213 }
214 };
215
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-09-14 6:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202409141404.gwkpFNUq-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=wenst@chromium.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