* [plbossart-sound:sdw/adl-topologies 5/5] sound/soc/intel/common/soc-acpi-intel-adl-match.c:211:25: error: 'rt714_0_adr' undeclared here (not in a function); did you mean 'rt714_3_adr'?
@ 2021-04-02 9:03 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-02 9:03 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 4112 bytes --]
tree: https://github.com/plbossart/sound sdw/adl-topologies
head: 5bebc74fbe99a03ca0868d89a91cee30ecea4091
commit: 5bebc74fbe99a03ca0868d89a91cee30ecea4091 [5/5] ASoC: Intel: soc-acpi: add ADL jack-less SoundWire configurations
config: ia64-allyesconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/plbossart/sound/commit/5bebc74fbe99a03ca0868d89a91cee30ecea4091
git remote add plbossart-sound https://github.com/plbossart/sound
git fetch --no-tags plbossart-sound sdw/adl-topologies
git checkout 5bebc74fbe99a03ca0868d89a91cee30ecea4091
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/list.h:9,
from include/linux/kobject.h:19,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from include/sound/soc-acpi.h:10,
from sound/soc/intel/common/soc-acpi-intel-adl-match.c:8:
>> sound/soc/intel/common/soc-acpi-intel-adl-match.c:211:25: error: 'rt714_0_adr' undeclared here (not in a function); did you mean 'rt714_3_adr'?
211 | .num_adr = ARRAY_SIZE(rt714_0_adr),
| ^~~~~~~~~~~
include/linux/kernel.h:49:33: note: in definition of macro 'ARRAY_SIZE'
49 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
| ^~~
In file included from include/linux/bits.h:22,
from include/linux/ioport.h:13,
from include/linux/acpi.h:12,
from include/sound/soc-acpi.h:10,
from sound/soc/intel/common/soc-acpi-intel-adl-match.c:8:
>> include/linux/build_bug.h:16:51: error: bit-field '<anonymous>' width not an integer constant
16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
| ^
include/linux/compiler.h:240:28: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
240 | #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
| ^~~~~~~~~~~~~~~~~
include/linux/kernel.h:49:59: note: in expansion of macro '__must_be_array'
49 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
| ^~~~~~~~~~~~~~~
sound/soc/intel/common/soc-acpi-intel-adl-match.c:211:14: note: in expansion of macro 'ARRAY_SIZE'
211 | .num_adr = ARRAY_SIZE(rt714_0_adr),
| ^~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for FRAME_POINTER
Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS
Selected by
- FAULT_INJECTION_STACKTRACE_FILTER && FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT && !X86_64 && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86
vim +211 sound/soc/intel/common/soc-acpi-intel-adl-match.c
202
203 static const struct snd_soc_acpi_link_adr adl_sdw_rt1316_link2_rt714_link0[] = {
204 {
205 .mask = BIT(2),
206 .num_adr = ARRAY_SIZE(rt1316_2_single_adr),
207 .adr_d = rt1316_2_single_adr,
208 },
209 {
210 .mask = BIT(0),
> 211 .num_adr = ARRAY_SIZE(rt714_0_adr),
212 .adr_d = rt714_0_adr,
213 },
214 {}
215 };
216
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 69101 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-02 9:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-02 9:03 [plbossart-sound:sdw/adl-topologies 5/5] sound/soc/intel/common/soc-acpi-intel-adl-match.c:211:25: error: 'rt714_0_adr' undeclared here (not in a function); did you mean 'rt714_3_adr'? kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.