Hi Maruthi, FYI, the error/warning still remains.
tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head: 0eb9bedf1270d981cd6f90390fbe8f2d52bb2339
commit: 944b5289c92d9c1aad3760c012daf4cf2478381f [699/927] ASoC: AMD: enable
ACP3x drivers build
config: s390-allyesconfig (attached as .config)
compiler: s390x-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 944b5289c92d9c1aad3760c012daf4cf2478381f
# save the attached .config to linux build tree
make.cross ARCH=s390
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 'vread'? [-Werror=implicit-function-declaration]
return readl(base_addr - ACP3x_PHY_BASE_ADDRESS);
^~~~~
vread
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 'vwrite'? [-Werror=implicit-function-declaration]
writel(val, base_addr - ACP3x_PHY_BASE_ADDRESS);
^~~~~~
vwrite
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 'devm_kmemdup'?
>> [-Werror=implicit-function-declaration]
adata->acp3x_base = devm_ioremap(&pdev->dev, res->start,
^~~~~~~~~~~~
devm_kmemdup
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
e8f3716a Maruthi Srinivas Bayyavarapu 2017-03-27 25
e8f3716a Maruthi Srinivas Bayyavarapu 2017-03-27 26 static inline u32
rv_readl(void __iomem *base_addr)
e8f3716a Maruthi Srinivas Bayyavarapu 2017-03-27 27 {
e8f3716a Maruthi Srinivas Bayyavarapu 2017-03-27 @28 return readl(base_addr
- ACP3x_PHY_BASE_ADDRESS);
e8f3716a Maruthi Srinivas Bayyavarapu 2017-03-27 29 }
e8f3716a Maruthi Srinivas Bayyavarapu 2017-03-27 30
e8f3716a Maruthi Srinivas Bayyavarapu 2017-03-27 31 static inline void
rv_writel(u32 val, void __iomem *base_addr)
e8f3716a Maruthi Srinivas Bayyavarapu 2017-03-27 32 {
e8f3716a 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
:::::: e8f3716a3b9808e2dc5d9be4a3c949cb79cf5e0a ASoC: AMD: add ACP3.0 PCI driver
:::::: TO: Maruthi Srinivas Bayyavarapu <[email protected]>
:::::: CC: Alex Deucher <[email protected]>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
