Skip to contentSkip to conversation

sound/pci/hda/hda_acpi.c:299:17: sparse: sparse: symbol 'nvidia_hda_data' was not declared. Should it be static?

PATCH kernel test robot 1 participant 1 message May 22, 2025

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   460178e842c7a1e48a06df684c66eb5fd630bcf7
commit: 4b214c9bbe26b2d86fd20a5548ac3733fcf36f21 [12614/12895] ALSA: hda - Add new driver for HDA controllers listed via ACPI
config: x86_64-randconfig-123-20250523 (https://download.01.org/0day-ci/archive/20250523/[email protected]/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250523/[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]/

sparse warnings: (new ones prefixed by >>)

>> sound/pci/hda/hda_acpi.c:299:17: sparse: sparse: symbol 'nvidia_hda_data' was not declared. Should it be static?

vim +/nvidia_hda_data +299 sound/pci/hda/hda_acpi.c

298

 > 299	struct hda_data nvidia_hda_data = {

300 .short_name = "NVIDIA",
301 .long_name = "NVIDIA HDA Controller",
302 .flags = AZX_DCAPS_CORBRP_SELF_CLEAR,
303 };
304

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