* [wens:mtk-wip 45/45] drivers/platform/chrome/chromeos_of_hw_prober.c:197:38: warning: unused variable 'chromeos_i2c_probe_simple_trackpad_cfg'
@ 2024-09-14 6:14 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-14 6:14 UTC (permalink / raw)
To: Chen-Yu Tsai; +Cc: llvm, oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-14 6:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-14 6:14 [wens:mtk-wip 45/45] drivers/platform/chrome/chromeos_of_hw_prober.c:197:38: warning: unused variable 'chromeos_i2c_probe_simple_trackpad_cfg' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox