Re: [linux-next:master 7406/7844] sound/pci/ymfpci/ymfpci_main.c:2259:9: error: implicit declaration of function 'snd_ac97_suspend'; did you mean 'snd_ac97_reset'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 30 Mar 2023 11:51:50 +0200,
kernel test robot wrote:
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   a6d9e3034536ba4b68ac34490c02267e6eec9c05
> commit: 081364d7039395d5759dda17f6904d7e99d39f4b [7406/7844] ALSA: ymfpci: Switch to DEFINE_SIMPLE_DEV_PM_OPS()
> config: microblaze-buildonly-randconfig-r001-20230329 (https://download.01.org/0day-ci/archive/20230330/202303301712.i4ddVa9j-lkp@xxxxxxxxx/config)
> compiler: microblaze-linux-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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=081364d7039395d5759dda17f6904d7e99d39f4b
>         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout 081364d7039395d5759dda17f6904d7e99d39f4b
>         # 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=microblaze olddefconfig
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=microblaze SHELL=/bin/bash sound/pci/ymfpci/
> 
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Link: https://lore.kernel.org/oe-kbuild-all/202303301712.i4ddVa9j-lkp@xxxxxxxxx/
> 
> All errors (new ones prefixed by >>):
> 
>    sound/pci/ymfpci/ymfpci_main.c: In function 'snd_ymfpci_suspend':
> >> sound/pci/ymfpci/ymfpci_main.c:2259:9: error: implicit declaration of function 'snd_ac97_suspend'; did you mean 'snd_ac97_reset'? [-Werror=implicit-function-declaration]
>     2259 |         snd_ac97_suspend(chip->ac97);
>          |         ^~~~~~~~~~~~~~~~
>          |         snd_ac97_reset
>    sound/pci/ymfpci/ymfpci_main.c: In function 'snd_ymfpci_resume':
> >> sound/pci/ymfpci/ymfpci_main.c:2288:9: error: implicit declaration of function 'snd_ac97_resume'; did you mean 'snd_ac97_reset'? [-Werror=implicit-function-declaration]
>     2288 |         snd_ac97_resume(chip->ac97);
>          |         ^~~~~~~~~~~~~~~
>          |         snd_ac97_reset
>    cc1: some warnings being treated as errors

FYI, I queued a fix for this, the addition of dummy functions.
  https://lore.kernel.org/r/20230330132847.12882-1-tiwai@xxxxxxx


thanks,

Takashi




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux