[vfs:test.pages 2/51] arch/s390/kernel/vdso.c:137:14: error: 'voud' undeclared

[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 test.pages
head:   573a06a07d2b19f7a173fcd0de179eba85795a58
commit: ca3ea04e8091cdd7b590c17768bd7fd9243e4b25 [2/51] switch free_pages() from unsigned long to const void *
config: s390-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 ca3ea04e8091cdd7b590c17768bd7fd9243e4b25
        # save the attached .config to linux build tree
        make.cross ARCH=s390 

All errors (new ones prefixed by >>):

   arch/s390/kernel/vdso.c: In function 'vdso_alloc_per_cpu':
>> arch/s390/kernel/vdso.c:137:14: error: 'voud' undeclared (first use in this function)
     free_pages((voud *)segment_table, SEGMENT_ORDER);
                 ^
   arch/s390/kernel/vdso.c:137:14: note: each undeclared identifier is reported only once for each function it appears in
>> arch/s390/kernel/vdso.c:137:20: error: expected expression before ')' token
     free_pages((voud *)segment_table, SEGMENT_ORDER);
                       ^
>> arch/s390/kernel/vdso.c:137:2: error: too few arguments to function 'free_pages'
     free_pages((voud *)segment_table, SEGMENT_ORDER);
     ^
   In file included from include/linux/kmod.h:22:0,
                    from include/linux/module.h:13,
                    from arch/s390/kernel/vdso.c:12:
   include/linux/gfp.h:490:13: note: declared here
    extern void free_pages(const void *addr, unsigned int order);
                ^

vim +/voud +137 arch/s390/kernel/vdso.c

   131	
   132		return 0;
   133	
   134	out:
   135		free_page((void *)page_frame);
   136		free_page((void *)page_table);
 > 137		free_pages((voud *)segment_table, SEGMENT_ORDER);
   138		return -ENOMEM;
   139	}
   140	

---
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