* [vfs:work.pages 80/80] arch/m68k/sun3x/dvma.c:147:5: error: conflicting types for 'dvma_map_iommu'
@ 2015-12-20 22:57 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2015-12-20 22:57 UTC (permalink / raw)
To: Al Viro; +Cc: kbuild-all, linux-fsdevel
[-- Attachment #1: Type: text/plain, Size: 1917 bytes --]
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 #2: .config.gz --]
[-- Type: application/octet-stream, Size: 35262 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-12-20 22:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-20 22:57 [vfs:work.pages 80/80] arch/m68k/sun3x/dvma.c:147:5: error: conflicting types for 'dvma_map_iommu' kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.