From: kernel test robot <lkp@intel.com>
To: Stephen Boyd <sboyd@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Mark Brown <broonie@kernel.org>, Arnd Bergmann <arnd@arndb.de>
Subject: sound/soc/samsung/idma.c:250:22: error: implicit declaration of function 'pgprot_noncached'
Date: Fri, 12 Jun 2020 22:25:13 +0800 [thread overview]
Message-ID: <202006122208.5MMLacCA%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3389 bytes --]
Hi Stephen,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b791d1bdf9212d944d749a5c7ff6febdba241771
commit: bbd7ffdbef6888459f301c5889f3b14ada38b913 clk: Allow the common clk framework to be selectable
date: 5 weeks ago
config: m68k-randconfig-r025-20200612 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout bbd7ffdbef6888459f301c5889f3b14ada38b913
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
sound/soc/samsung/idma.c: In function 'idma_mmap':
>> sound/soc/samsung/idma.c:250:22: error: implicit declaration of function 'pgprot_noncached' [-Werror=implicit-function-declaration]
250 | vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
| ^~~~~~~~~~~~~~~~
>> sound/soc/samsung/idma.c:250:22: error: incompatible types when assigning to type 'pgprot_t' {aka 'struct <anonymous>'} from type 'int'
cc1: some warnings being treated as errors
vim +/pgprot_noncached +250 sound/soc/samsung/idma.c
f09aecd50f39d3 Sangbeom Kim 2011-07-20 240
ba40ab6275173e Kuninori Morimoto 2019-10-02 241 static int idma_mmap(struct snd_soc_component *component,
ba40ab6275173e Kuninori Morimoto 2019-10-02 242 struct snd_pcm_substream *substream,
f09aecd50f39d3 Sangbeom Kim 2011-07-20 243 struct vm_area_struct *vma)
f09aecd50f39d3 Sangbeom Kim 2011-07-20 244 {
f09aecd50f39d3 Sangbeom Kim 2011-07-20 245 struct snd_pcm_runtime *runtime = substream->runtime;
f09aecd50f39d3 Sangbeom Kim 2011-07-20 246 unsigned long size, offset;
f09aecd50f39d3 Sangbeom Kim 2011-07-20 247 int ret;
f09aecd50f39d3 Sangbeom Kim 2011-07-20 248
f09aecd50f39d3 Sangbeom Kim 2011-07-20 249 /* From snd_pcm_lib_mmap_iomem */
f09aecd50f39d3 Sangbeom Kim 2011-07-20 @250 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
f09aecd50f39d3 Sangbeom Kim 2011-07-20 251 size = vma->vm_end - vma->vm_start;
f09aecd50f39d3 Sangbeom Kim 2011-07-20 252 offset = vma->vm_pgoff << PAGE_SHIFT;
f09aecd50f39d3 Sangbeom Kim 2011-07-20 253 ret = io_remap_pfn_range(vma, vma->vm_start,
f09aecd50f39d3 Sangbeom Kim 2011-07-20 254 (runtime->dma_addr + offset) >> PAGE_SHIFT,
f09aecd50f39d3 Sangbeom Kim 2011-07-20 255 size, vma->vm_page_prot);
f09aecd50f39d3 Sangbeom Kim 2011-07-20 256
f09aecd50f39d3 Sangbeom Kim 2011-07-20 257 return ret;
f09aecd50f39d3 Sangbeom Kim 2011-07-20 258 }
f09aecd50f39d3 Sangbeom Kim 2011-07-20 259
:::::: The code at line 250 was first introduced by commit
:::::: f09aecd50f39d35372e551491d9f36ff0f51ee4d ASoC: SAMSUNG: Add I2S0 internal dma driver
:::::: TO: Sangbeom Kim <sbkim73@samsung.com>
:::::: CC: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31235 bytes --]
reply other threads:[~2020-06-12 14:46 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=202006122208.5MMLacCA%lkp@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=broonie@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sboyd@kernel.org \
/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