[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202205280812.a2WZ85Fx-lkp@intel.com>
Date: Sat, 28 May 2022 08:51:46 +0800
From: kernel test robot <lkp@...el.com>
To: Stefan Binding <sbinding@...nsource.cirrus.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Takashi Iwai <tiwai@...e.de>
Subject: sound/pci/hda/patch_cs8409-tables.c:79:25: sparse: sparse: symbol
'cs8409_cs42l42_pincfgs_no_dmic' was not declared. Should it be static?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: bf272460d744112bacd4c4d562592decbf0edf64
commit: 22bb82264c655ef297adf442cdc796849e5a2a8c ALSA: hda/cs8409: Support new Odin Variants
date: 2 weeks ago
config: arc-randconfig-s031-20220527 (https://download.01.org/0day-ci/archive/20220528/202205280812.a2WZ85Fx-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 11.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-14-g5a0004b5-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=22bb82264c655ef297adf442cdc796849e5a2a8c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 22bb82264c655ef297adf442cdc796849e5a2a8c
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arc SHELL=/bin/bash drivers/misc/lkdtm/ sound/pci/hda/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
sparse warnings: (new ones prefixed by >>)
>> sound/pci/hda/patch_cs8409-tables.c:79:25: sparse: sparse: symbol 'cs8409_cs42l42_pincfgs_no_dmic' was not declared. Should it be static?
vim +/cs8409_cs42l42_pincfgs_no_dmic +79 sound/pci/hda/patch_cs8409-tables.c
78
> 79 const struct hda_pintbl cs8409_cs42l42_pincfgs_no_dmic[] = {
80 { CS8409_PIN_ASP1_TRANSMITTER_A, 0x042120f0 }, /* ASP-1-TX */
81 { CS8409_PIN_ASP1_RECEIVER_A, 0x04a12050 }, /* ASP-1-RX */
82 { CS8409_PIN_ASP2_TRANSMITTER_A, 0x901000f0 }, /* ASP-2-TX */
83 {} /* terminator */
84 };
85
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists