[vfs:work.pages 80/80] arch/m68k/sun3x/dvma.c:147:5: error: conflicting types for 'dvma_map_iommu'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.pages
head:   b38f3a2b9287eeea9c8ab2e0e839035628662270
commit: b38f3a2b9287eeea9c8ab2e0e839035628662270 [80/80] [sun3] try to sort dvma types out
config: m68k-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout b38f3a2b9287eeea9c8ab2e0e839035628662270
        # save the attached .config to linux build tree
        make.cross ARCH=m68k 

All error/warnings (new ones prefixed by >>):

   arch/m68k/sun3/sun3dvma.c: In function 'dvma_map_align':
>> arch/m68k/sun3/sun3dvma.c:312:7: warning: passing argument 1 of 'dvma_map_iommu' makes integer from pointer without a cast
     if (!dvma_map_iommu(kaddr, baddr, len))
          ^
   In file included from arch/m68k/sun3/sun3dvma.c:19:0:
   arch/m68k/include/asm/dvma.h:19:12: note: expected 'long unsigned int' but argument is of type 'void *'
    extern int dvma_map_iommu(unsigned long kaddr, unsigned long baddr,
               ^
--
>> arch/m68k/sun3x/dvma.c:147:5: error: conflicting types for 'dvma_map_iommu'
    int dvma_map_iommu(void *kaddr, unsigned long baddr, int len)
        ^
   In file included from arch/m68k/sun3x/dvma.c:21:0:
   arch/m68k/include/asm/dvma.h:19:12: note: previous declaration of 'dvma_map_iommu' was here
    extern int dvma_map_iommu(unsigned long kaddr, unsigned long baddr,
               ^

vim +/dvma_map_iommu +147 arch/m68k/sun3x/dvma.c

   141	
   142	 out:
   143		return ret;
   144	}
   145	
   146	
 > 147	int dvma_map_iommu(void *kaddr, unsigned long baddr, int len)
   148	{
   149		unsigned long end, index;
   150	

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux