* [radeon-alex:amd-staging-drm-next 107/132] sound/soc/amd/raven/acp3x.h:28:9: error: implicit declaration of function 'readl'; did you mean 'rv_readl'?
@ 2018-06-15 22:26 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-06-15 22:26 UTC (permalink / raw)
To: Maruthi Bayyavarapu; +Cc: Alex Deucher, kbuild-all, dri-devel
[-- Attachment #1: Type: text/plain, Size: 3159 bytes --]
tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head: 486e4f30e2a3b7bdd2caa48d09b905a34f2f99cb
commit: 080d2114b794d5764c7ff4b4454317cdb9d24652 [107/132] ASoC: AMD: enable ACP3x drivers build
config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-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 080d2114b794d5764c7ff4b4454317cdb9d24652
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=sparc64
All errors (new ones prefixed by >>):
In file included from sound/soc/amd/raven/acp3x-pcm-dma.c:26:0:
sound/soc/amd/raven/acp3x.h: In function 'rv_readl':
>> sound/soc/amd/raven/acp3x.h:28:9: error: implicit declaration of function 'readl'; did you mean 'rv_readl'? [-Werror=implicit-function-declaration]
return readl(base_addr - ACP3x_PHY_BASE_ADDRESS);
^~~~~
rv_readl
sound/soc/amd/raven/acp3x.h: In function 'rv_writel':
>> sound/soc/amd/raven/acp3x.h:33:2: error: implicit declaration of function 'writel'; did you mean 'rv_writel'? [-Werror=implicit-function-declaration]
writel(val, base_addr - ACP3x_PHY_BASE_ADDRESS);
^~~~~~
rv_writel
sound/soc/amd/raven/acp3x-pcm-dma.c: In function 'acp3x_audio_probe':
sound/soc/amd/raven/acp3x-pcm-dma.c:638:22: error: implicit declaration of function 'devm_ioremap'; did you mean 'of_ioremap'? [-Werror=implicit-function-declaration]
adata->acp3x_base = devm_ioremap(&pdev->dev, res->start,
^~~~~~~~~~~~
of_ioremap
sound/soc/amd/raven/acp3x-pcm-dma.c:638:20: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
adata->acp3x_base = devm_ioremap(&pdev->dev, res->start,
^
cc1: some warnings being treated as errors
vim +28 sound/soc/amd/raven/acp3x.h
482f424e Maruthi Srinivas Bayyavarapu 2017-03-27 25
482f424e Maruthi Srinivas Bayyavarapu 2017-03-27 26 static inline u32 rv_readl(void __iomem *base_addr)
482f424e Maruthi Srinivas Bayyavarapu 2017-03-27 27 {
482f424e Maruthi Srinivas Bayyavarapu 2017-03-27 @28 return readl(base_addr - ACP3x_PHY_BASE_ADDRESS);
482f424e Maruthi Srinivas Bayyavarapu 2017-03-27 29 }
482f424e Maruthi Srinivas Bayyavarapu 2017-03-27 30
482f424e Maruthi Srinivas Bayyavarapu 2017-03-27 31 static inline void rv_writel(u32 val, void __iomem *base_addr)
482f424e Maruthi Srinivas Bayyavarapu 2017-03-27 32 {
482f424e Maruthi Srinivas Bayyavarapu 2017-03-27 @33 writel(val, base_addr - ACP3x_PHY_BASE_ADDRESS);
:::::: The code at line 28 was first introduced by commit
:::::: 482f424eb209cff8a19c5408d9c5edb488ee88b8 ASoC: AMD: add ACP3.0 PCI driver
:::::: TO: Maruthi Srinivas Bayyavarapu <Maruthi.Bayyavarapu@amd.com>
:::::: CC: Alex Deucher <alexander.deucher@amd.com>
---
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: 53274 bytes --]
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-15 22:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-15 22:26 [radeon-alex:amd-staging-drm-next 107/132] sound/soc/amd/raven/acp3x.h:28:9: error: implicit declaration of function 'readl'; did you mean 'rv_readl'? 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.