All of lore.kernel.org
 help / color / mirror / Atom feed
* [vfs:work.pages 80/80] arch/m68k/sun3/dvma.c:44:2: error: expected ')' before 'return'
@ 2015-12-20 23:58 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2015-12-20 23:58 UTC (permalink / raw)
  To: Al Viro; +Cc: kbuild-all, linux-fsdevel

[-- Attachment #1: Type: text/plain, Size: 1962 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-sun3_defconfig (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/dvma.c: In function 'dvma_page':
>> arch/m68k/sun3/dvma.c:44:2: error: expected ')' before 'return'
     return vaddr + offset_in_page(kaddr);
     ^
>> arch/m68k/sun3/dvma.c:45:1: error: expected ';' before '}' token
    }
    ^
>> arch/m68k/sun3/dvma.c:45:1: warning: no return statement in function returning non-void [-Wreturn-type]
   arch/m68k/sun3/dvma.c: At top level:
>> arch/m68k/sun3/dvma.c:47: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/sun3/dvma.c:18: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 +44 arch/m68k/sun3/dvma.c

    38	
    39		if (ptelist[idx] != pte)( {
    40			sun3_put_pte((unsigned long)vaddr, pte);
    41			ptelist[idx] = pte;
    42		}
    43	
  > 44		return vaddr + offset_in_page(kaddr);
  > 45	}
    46	
  > 47	int dvma_map_iommu(void *kaddr, unsigned long baddr, int len)
    48	{
    49		void *vaddr = dvma_btov(baddr);
    50		void *end = vaddr + len;

---
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: 11067 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-20 23:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-20 23:58 [vfs:work.pages 80/80] arch/m68k/sun3/dvma.c:44:2: error: expected ')' before 'return' 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.