* [sound:for-linus 5/5] sound/pci//hda/patch_ca0132.c:8416:3: error: implicit declaration of function 'pci_iounmap'; did you mean 'pcim_iounmap'?
@ 2018-11-13 18:14 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-11-13 18:14 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel, kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2753 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-linus
head: d99501b8575dc1248bacf1b58d2241cb4b265d49
commit: d99501b8575dc1248bacf1b58d2241cb4b265d49 [5/5] ALSA: hda/ca0132 - Call pci_iounmap() instead of iounmap()
config: sh-allyesconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout d99501b8575dc1248bacf1b58d2241cb4b265d49
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=sh
All errors (new ones prefixed by >>):
sound/pci//hda/patch_ca0132.c: In function 'ca0132_free':
>> sound/pci//hda/patch_ca0132.c:8416:3: error: implicit declaration of function 'pci_iounmap'; did you mean 'pcim_iounmap'? [-Werror=implicit-function-declaration]
pci_iounmap(codec->bus->pci, spec->mem_base);
^~~~~~~~~~~
pcim_iounmap
sound/pci//hda/patch_ca0132.c: In function 'patch_ca0132':
sound/pci//hda/patch_ca0132.c:8799:20: error: implicit declaration of function 'pci_iomap'; did you mean 'pcim_iomap'? [-Werror=implicit-function-declaration]
spec->mem_base = pci_iomap(codec->bus->pci, 2, 0xC20);
^~~~~~~~~
pcim_iomap
sound/pci//hda/patch_ca0132.c:8799:18: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
spec->mem_base = pci_iomap(codec->bus->pci, 2, 0xC20);
^
cc1: some warnings being treated as errors
vim +8416 sound/pci//hda/patch_ca0132.c
8386
8387 static void ca0132_free(struct hda_codec *codec)
8388 {
8389 struct ca0132_spec *spec = codec->spec;
8390
8391 cancel_delayed_work_sync(&spec->unsol_hp_work);
8392 snd_hda_power_up(codec);
8393 switch (spec->quirk) {
8394 case QUIRK_SBZ:
8395 sbz_exit_chip(codec);
8396 break;
8397 case QUIRK_ZXR:
8398 zxr_exit_chip(codec);
8399 break;
8400 case QUIRK_R3D:
8401 r3d_exit_chip(codec);
8402 break;
8403 case QUIRK_AE5:
8404 ae5_exit_chip(codec);
8405 break;
8406 case QUIRK_R3DI:
8407 r3di_gpio_shutdown(codec);
8408 break;
8409 }
8410
8411 snd_hda_sequence_write(codec, spec->base_exit_verbs);
8412 ca0132_exit_chip(codec);
8413
8414 snd_hda_power_down(codec);
8415 if (spec->mem_base)
> 8416 pci_iounmap(codec->bus->pci, spec->mem_base);
8417 kfree(spec->spec_init_verbs);
8418 kfree(codec->spec);
8419 }
8420
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 50568 bytes --]
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-11-13 18:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-13 18:14 [sound:for-linus 5/5] sound/pci//hda/patch_ca0132.c:8416:3: error: implicit declaration of function 'pci_iounmap'; did you mean 'pcim_iounmap'? kbuild 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.