[radeon-alex:amd-staging-drm-next 94/843] sound/soc/amd/raven/acp3x.h:28:9: error: implicit declaration of function 'readl'

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

 



tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head:   aec1199c9095951449e3932fac49ddeb9e99884a
commit: e5d2b5cb8e8700b321d714e39f40f7578a29631f [94/843] ASoC: AMD: enable ACP3x drivers build
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout e5d2b5cb8e8700b321d714e39f40f7578a29631f
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

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' [-Werror=implicit-function-declaration]
     return readl(base_addr - ACP3x_PHY_BASE_ADDRESS);
            ^~~~~
   sound/soc/amd/raven/acp3x.h: In function 'rv_writel':
>> sound/soc/amd/raven/acp3x.h:33:2: error: implicit declaration of function 'writel' [-Werror=implicit-function-declaration]
     writel(val, base_addr - ACP3x_PHY_BASE_ADDRESS);
     ^~~~~~
   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' [-Werror=implicit-function-declaration]
     adata->acp3x_base = devm_ioremap(&pdev->dev, res->start,
                         ^~~~~~~~~~~~
   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 +/readl +28 sound/soc/amd/raven/acp3x.h

b28c4f99 Maruthi Srinivas Bayyavarapu 2017-03-27  25  
b28c4f99 Maruthi Srinivas Bayyavarapu 2017-03-27  26  static inline u32 rv_readl(void __iomem *base_addr)
b28c4f99 Maruthi Srinivas Bayyavarapu 2017-03-27  27  {
b28c4f99 Maruthi Srinivas Bayyavarapu 2017-03-27 @28  	return readl(base_addr - ACP3x_PHY_BASE_ADDRESS);
b28c4f99 Maruthi Srinivas Bayyavarapu 2017-03-27  29  }
b28c4f99 Maruthi Srinivas Bayyavarapu 2017-03-27  30  
b28c4f99 Maruthi Srinivas Bayyavarapu 2017-03-27  31  static inline void rv_writel(u32 val, void __iomem *base_addr)
b28c4f99 Maruthi Srinivas Bayyavarapu 2017-03-27  32  {
b28c4f99 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
:::::: b28c4f99c7d17cba0358ec0af140b48081af9963 ASoC: AMD: add ACP3.0 PCI driver

:::::: TO: Maruthi Srinivas Bayyavarapu <Maruthi.Bayyavarapu@xxxxxxx>
:::::: CC: Alex Deucher <alexander.deucher@xxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux