dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Maruthi Bayyavarapu <maruthi.bayyavarapu@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>,
	kbuild-all@01.org, dri-devel@lists.freedesktop.org
Subject: [radeon-alex:amd-staging-drm-next 114/534] sound/soc/amd/raven/acp3x.h:28:9: error: implicit declaration of function 'readl'; did you mean 'vread'?
Date: Wed, 30 May 2018 18:24:38 +0800	[thread overview]
Message-ID: <201805301830.kFMFu1FD%fengguang.wu@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3177 bytes --]

Hi Maruthi,

FYI, the error/warning still remains.

tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head:   40056c07e7d2a029aad652a404533c19241749ab
commit: 2a6630b1095609b26a205b7c537594f3cde99c0a [114/534] ASoC: AMD: enable ACP3x drivers build
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-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 2a6630b1095609b26a205b7c537594f3cde99c0a
        # 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'; 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

1e29b934 Maruthi Srinivas Bayyavarapu 2017-03-27  25  
1e29b934 Maruthi Srinivas Bayyavarapu 2017-03-27  26  static inline u32 rv_readl(void __iomem *base_addr)
1e29b934 Maruthi Srinivas Bayyavarapu 2017-03-27  27  {
1e29b934 Maruthi Srinivas Bayyavarapu 2017-03-27 @28  	return readl(base_addr - ACP3x_PHY_BASE_ADDRESS);
1e29b934 Maruthi Srinivas Bayyavarapu 2017-03-27  29  }
1e29b934 Maruthi Srinivas Bayyavarapu 2017-03-27  30  
1e29b934 Maruthi Srinivas Bayyavarapu 2017-03-27  31  static inline void rv_writel(u32 val, void __iomem *base_addr)
1e29b934 Maruthi Srinivas Bayyavarapu 2017-03-27  32  {
1e29b934 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
:::::: 1e29b93483a3e02f1126c5d9b16c4436f6a53c80 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: 65158 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

                 reply	other threads:[~2018-05-30 10:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201805301830.kFMFu1FD%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=alexander.deucher@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kbuild-all@01.org \
    --cc=maruthi.bayyavarapu@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox