[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210020919.Loc5eYC2-lkp@intel.com>
Date: Sun, 2 Oct 2022 10:00:45 +0800
From: kernel test robot <lkp@...el.com>
To: Sameer Pujar <spujar@...dia.com>
Cc: kbuild-all@...ts.01.org, Ammar Faizi <ammarfaizi2@...weeb.org>,
GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
linux-kernel@...r.kernel.org, Sasha Levin <sashal@...nel.org>,
Dmitry Osipenko <digetx@...il.com>,
Takashi Iwai <tiwai@...e.de>
Subject: [ammarfaizi2-block:stable/linux-stable-rc/queue/4.19 26/42]
sound/pci/hda/hda_tegra.c:88:40: error: array type has incomplete element
type 'struct reset_control_bulk_data'
tree: https://github.com/ammarfaizi2/linux-block stable/linux-stable-rc/queue/4.19
head: 33d36daaa2310f4dcab3e5e03f0b269e85ec5008
commit: 3369703d87b457342c3f2778704f47f703949515 [26/42] ALSA: hda/tegra: Fix Tegra194 HDA reset failure
config: arm-defconfig
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.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/ammarfaizi2/linux-block/commit/3369703d87b457342c3f2778704f47f703949515
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block stable/linux-stable-rc/queue/4.19
git checkout 3369703d87b457342c3f2778704f47f703949515
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash sound/pci/hda/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> sound/pci/hda/hda_tegra.c:88:40: error: array type has incomplete element type 'struct reset_control_bulk_data'
88 | struct reset_control_bulk_data resets[3];
| ^~~~~~
sound/pci/hda/hda_tegra.c: In function 'hda_tegra_runtime_resume':
>> sound/pci/hda/hda_tegra.c:289:22: error: implicit declaration of function 'reset_control_bulk_assert'; did you mean 'reset_control_deassert'? [-Werror=implicit-function-declaration]
289 | rc = reset_control_bulk_assert(hda->nresets, hda->resets);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| reset_control_deassert
>> sound/pci/hda/hda_tegra.c:306:22: error: implicit declaration of function 'reset_control_bulk_deassert'; did you mean 'reset_control_deassert'? [-Werror=implicit-function-declaration]
306 | rc = reset_control_bulk_deassert(hda->nresets, hda->resets);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| reset_control_deassert
sound/pci/hda/hda_tegra.c: In function 'hda_tegra_init_chip':
sound/pci/hda/hda_tegra.c:366:15: error: implicit declaration of function 'hda_tegra_enable_clocks' [-Werror=implicit-function-declaration]
366 | err = hda_tegra_enable_clocks(hda);
| ^~~~~~~~~~~~~~~~~~~~~~~
sound/pci/hda/hda_tegra.c: In function 'hda_tegra_first_init':
sound/pci/hda/hda_tegra.c:414:37: error: 'np' undeclared (first use in this function); did you mean 'up'?
414 | if (of_device_is_compatible(np, "nvidia,tegra194-hda")) {
| ^~
| up
sound/pci/hda/hda_tegra.c:414:37: note: each undeclared identifier is reported only once for each function it appears in
sound/pci/hda/hda_tegra.c: In function 'hda_tegra_probe':
>> sound/pci/hda/hda_tegra.c:571:15: error: implicit declaration of function 'devm_reset_control_bulk_get_exclusive'; did you mean 'devm_reset_control_array_get_exclusive'? [-Werror=implicit-function-declaration]
571 | err = devm_reset_control_bulk_get_exclusive(&pdev->dev, hda->nresets,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| devm_reset_control_array_get_exclusive
cc1: some warnings being treated as errors
vim +88 sound/pci/hda/hda_tegra.c
84
85 struct hda_tegra {
86 struct azx chip;
87 struct device *dev;
> 88 struct reset_control_bulk_data resets[3];
89 struct clk_bulk_data clocks[3];
90 unsigned int nresets;
91 unsigned int nclocks;
92 void __iomem *regs;
93 struct work_struct probe_work;
94 const struct hda_tegra_soc *soc;
95 };
96
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (193561 bytes)
Powered by blists - more mailing lists