drivers/platform/x86/mlx-platform.c:6484:36: warning: unused variable 'mlxplat_acpi_table'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git review-hans head: 96ed86ea9042b105f7a4cf311e6a6f7e220820ed commit: e2185e8f37ef41517778b6f4d58815c7a27e85cc [69/76] platform: mellanox: mlx-platform: Introduce ACPI init flow config: x86_64-buildonly-randconfig-004-20230823 (https://download.01.org/0day-ci/archive/20230823/[email protected]/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce: (https://download.01.org/0day-ci/archive/20230823/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
>> drivers/platform/x86/mlx-platform.c:6484:36: warning: unused variable 'mlxplat_acpi_table' [-Wunused-const-variable]
static const struct acpi_device_id mlxplat_acpi_table[] = {
^1 warning generated.
vim +/mlxplat_acpi_table +6484 drivers/platform/x86/mlx-platform.c
6483
> 6484 static const struct acpi_device_id mlxplat_acpi_table[] = { 6485 { "MLNXBF49", 0 },
6486 {}
6487 };
6488 MODULE_DEVICE_TABLE(acpi, mlxplat_acpi_table);
6489
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki