* [plbossart-sound:merge/sound-upstream-20220111 9/9] sound/soc/sof/intel/hda-probes.c:147:1: warning: data definition has no type or storage class
@ 2022-01-12 14:47 kernel test robot
2022-01-13 7:47 ` Péter Ujfalusi
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-01-12 14:47 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2329 bytes --]
Hi Peter,
FYI, the error/warning still remains.
tree: https://github.com/thesofproject/linux merge/sound-upstream-20220111
head: 7446c50ebb128c85d61294a6c8000cf88e986fd8
commit: d5c4c30af5aa45fb574b8dec346db3ff5404146e [9/9] ASoC: SOF: Convert the generic probe support to SOF client
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20220112/202201122244.5PSw0QJr-lkp(a)intel.com/config)
compiler: alpha-linux-gcc (GCC) 11.2.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/thesofproject/linux/commit/d5c4c30af5aa45fb574b8dec346db3ff5404146e
git remote add thesofproject https://github.com/thesofproject/linux
git fetch --no-tags thesofproject plbossart-sound/merge/sound-upstream-20220111
git checkout d5c4c30af5aa45fb574b8dec346db3ff5404146e
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=alpha SHELL=/bin/bash sound/soc/sof/intel/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> sound/soc/sof/intel/hda-probes.c:147:1: warning: data definition has no type or storage class
147 | MODULE_IMPORT_NS(SND_SOC_SOF_CLIENT);
| ^~~~~~~~~~~~~~~~
sound/soc/sof/intel/hda-probes.c:147:1: error: type defaults to 'int' in declaration of 'MODULE_IMPORT_NS' [-Werror=implicit-int]
>> sound/soc/sof/intel/hda-probes.c:147:1: warning: parameter names (without types) in function declaration
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SND_AMD_ACP_CONFIG
Depends on SOUND && !UML && SND && SND_SOC && SND_SOC_ACPI
Selected by
- SND_SOC_SOF_AMD_COMMON && SOUND && !UML && SND && SND_SOC && SND_SOC_SOF_TOPLEVEL && SND_SOC_SOF_AMD_TOPLEVEL
vim +147 sound/soc/sof/intel/hda-probes.c
146
> 147 MODULE_IMPORT_NS(SND_SOC_SOF_CLIENT);
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [plbossart-sound:merge/sound-upstream-20220111 9/9] sound/soc/sof/intel/hda-probes.c:147:1: warning: data definition has no type or storage class
2022-01-12 14:47 [plbossart-sound:merge/sound-upstream-20220111 9/9] sound/soc/sof/intel/hda-probes.c:147:1: warning: data definition has no type or storage class kernel test robot
@ 2022-01-13 7:47 ` Péter Ujfalusi
0 siblings, 0 replies; 2+ messages in thread
From: Péter Ujfalusi @ 2022-01-13 7:47 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2619 bytes --]
Hi Pierre,
On 12/01/2022 16:47, kernel test robot wrote:
> Hi Peter,
>
> FYI, the error/warning still remains.
I have not seen this warning, and I can not reproduce it, but I think it
is due to a missing
#include <linux/module.h>
> tree: https://github.com/thesofproject/linux merge/sound-upstream-20220111
> head: 7446c50ebb128c85d61294a6c8000cf88e986fd8
> commit: d5c4c30af5aa45fb574b8dec346db3ff5404146e [9/9] ASoC: SOF: Convert the generic probe support to SOF client
> config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20220112/202201122244.5PSw0QJr-lkp(a)intel.com/config)
> compiler: alpha-linux-gcc (GCC) 11.2.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/thesofproject/linux/commit/d5c4c30af5aa45fb574b8dec346db3ff5404146e
> git remote add thesofproject https://github.com/thesofproject/linux
> git fetch --no-tags thesofproject plbossart-sound/merge/sound-upstream-20220111
> git checkout d5c4c30af5aa45fb574b8dec346db3ff5404146e
> # save the config file to linux build tree
> mkdir build_dir
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=alpha SHELL=/bin/bash sound/soc/sof/intel/
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All warnings (new ones prefixed by >>):
>
>>> sound/soc/sof/intel/hda-probes.c:147:1: warning: data definition has no type or storage class
> 147 | MODULE_IMPORT_NS(SND_SOC_SOF_CLIENT);
> | ^~~~~~~~~~~~~~~~
> sound/soc/sof/intel/hda-probes.c:147:1: error: type defaults to 'int' in declaration of 'MODULE_IMPORT_NS' [-Werror=implicit-int]
>>> sound/soc/sof/intel/hda-probes.c:147:1: warning: parameter names (without types) in function declaration
> cc1: some warnings being treated as errors
>
> Kconfig warnings: (for reference only)
> WARNING: unmet direct dependencies detected for SND_AMD_ACP_CONFIG
> Depends on SOUND && !UML && SND && SND_SOC && SND_SOC_ACPI
> Selected by
> - SND_SOC_SOF_AMD_COMMON && SOUND && !UML && SND && SND_SOC && SND_SOC_SOF_TOPLEVEL && SND_SOC_SOF_AMD_TOPLEVEL
>
>
> vim +147 sound/soc/sof/intel/hda-probes.c
>
> 146
> > 147 MODULE_IMPORT_NS(SND_SOC_SOF_CLIENT);
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
--
Péter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-13 7:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-12 14:47 [plbossart-sound:merge/sound-upstream-20220111 9/9] sound/soc/sof/intel/hda-probes.c:147:1: warning: data definition has no type or storage class kernel test robot
2022-01-13 7:47 ` Péter Ujfalusi
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.