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 <[email protected]>

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 <[email protected]>
:::::: CC: Mark Brown <[email protected]>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

Reply via email to