2023-11-06 07:07:29

by kernel test robot

[permalink] [raw]
Subject: drivers/platform/goldfish/goldfish_pipe.c:654:36: warning: 'goldfish_pipe_acpi_match' defined but not used

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 77fa2fbe87fc605c4bfa87dff87be9bfded0e9a3
commit: d62f324b0ac80c3923ebbf897735c7c24ba887b8 goldfish: Enable ACPI-based enumeration for android pipe
date: 8 years ago
config: x86_64-buildonly-randconfig-001-20230831 (https://download.01.org/0day-ci/archive/20231106/[email protected]/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0

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 <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/

All warnings (new ones prefixed by >>):

>> drivers/platform/goldfish/goldfish_pipe.c:654:36: warning: 'goldfish_pipe_acpi_match' defined but not used [-Wunused-const-variable=]
654 | static const struct acpi_device_id goldfish_pipe_acpi_match[] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~


vim +/goldfish_pipe_acpi_match +654 drivers/platform/goldfish/goldfish_pipe.c

c89f2750e9845a David 'Digit' Turner 2013-01-21 653
d62f324b0ac80c Jason Hu 2016-01-06 @654 static const struct acpi_device_id goldfish_pipe_acpi_match[] = {
d62f324b0ac80c Jason Hu 2016-01-06 655 { "GFSH0003", 0 },
d62f324b0ac80c Jason Hu 2016-01-06 656 { },
d62f324b0ac80c Jason Hu 2016-01-06 657 };
d62f324b0ac80c Jason Hu 2016-01-06 658 MODULE_DEVICE_TABLE(acpi, goldfish_pipe_acpi_match);
d62f324b0ac80c Jason Hu 2016-01-06 659

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki