Re: [PATCH V1 7/7] ASoC: codecs: Rework the aw88399 driver

From: kernel test robot

Date: Sat Sep 27 2025 - 08:48:44 EST


Hi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 4ff71af020ae59ae2d83b174646fc2ad9fcd4dc4]

url: https://github.com/intel-lab-lkp/linux/commits/wangweidong-a-awinic-com/ASoC-codecs-Rework-the-awinic-driver-lib/20250926-183836
base: 4ff71af020ae59ae2d83b174646fc2ad9fcd4dc4
patch link: https://lore.kernel.org/r/20250926102037.27697-8-wangweidong.a%40awinic.com
patch subject: [PATCH V1 7/7] ASoC: codecs: Rework the aw88399 driver
config: i386-randconfig-017-20250927 (https://download.01.org/0day-ci/archive/20250927/202509271902.lDJPhs8Z-lkp@xxxxxxxxx/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250927/202509271902.lDJPhs8Z-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202509271902.lDJPhs8Z-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> sound/soc/codecs/aw88399.c:1728:36: warning: unused variable 'aw88399_acpi_match' [-Wunused-const-variable]
1728 | static const struct acpi_device_id aw88399_acpi_match[] = {
| ^~~~~~~~~~~~~~~~~~
1 warning generated.


vim +/aw88399_acpi_match +1728 sound/soc/codecs/aw88399.c

8ade6cc7e26175 Weidong Wang 2023-10-25 1726
e95122a32e7773 Weidong Wang 2025-07-25 1727 #ifdef CONFIG_ACPI
e95122a32e7773 Weidong Wang 2025-07-25 @1728 static const struct acpi_device_id aw88399_acpi_match[] = {
e95122a32e7773 Weidong Wang 2025-07-25 1729 { "AWDZ8399", 0 },
e95122a32e7773 Weidong Wang 2025-07-25 1730 { },
e95122a32e7773 Weidong Wang 2025-07-25 1731 };
e95122a32e7773 Weidong Wang 2025-07-25 1732 MODULE_DEVICE_TABLE(acpi, aw88399_acpi_match);
e95122a32e7773 Weidong Wang 2025-07-25 1733 #endif
e95122a32e7773 Weidong Wang 2025-07-25 1734

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