[vfs:uaccess.m32r 11/11] arch/m32r/kernel/m32r_ksyms.c:29:1: note: in expansion of macro 'EXPORT_SYMBOL'

[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 uaccess.m32r
head:   e4c2066ba968e2e121b7a907b246485f254d17e6
commit: e4c2066ba968e2e121b7a907b246485f254d17e6 [11/11] m32r: switch to RAW_COPY_USER
config: m32r-opsput_defconfig (attached as .config)
compiler: m32r-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout e4c2066ba968e2e121b7a907b246485f254d17e6
        # save the attached .config to linux build tree
        make.cross ARCH=m32r 

All warnings (new ones prefixed by >>):

   In file included from include/linux/linkage.h:6:0,
                    from include/linux/kernel.h:6,
                    from include/linux/list.h:8,
                    from include/linux/module.h:9,
                    from arch/m32r/kernel/m32r_ksyms.c:1:
   arch/m32r/kernel/m32r_ksyms.c:29:15: error: '__generic_copy_from_user' undeclared here (not in a function)
    EXPORT_SYMBOL(__generic_copy_from_user);
                  ^
   include/linux/export.h:65:16: note: in definition of macro '___EXPORT_SYMBOL'
     extern typeof(sym) sym;      \
                   ^~~
>> arch/m32r/kernel/m32r_ksyms.c:29:1: note: in expansion of macro 'EXPORT_SYMBOL'
    EXPORT_SYMBOL(__generic_copy_from_user);
    ^~~~~~~~~~~~~
   arch/m32r/kernel/m32r_ksyms.c:30:15: error: '__generic_copy_to_user' undeclared here (not in a function)
    EXPORT_SYMBOL(__generic_copy_to_user);
                  ^
   include/linux/export.h:65:16: note: in definition of macro '___EXPORT_SYMBOL'
     extern typeof(sym) sym;      \
                   ^~~
   arch/m32r/kernel/m32r_ksyms.c:30:1: note: in expansion of macro 'EXPORT_SYMBOL'
    EXPORT_SYMBOL(__generic_copy_to_user);
    ^~~~~~~~~~~~~

vim +/EXPORT_SYMBOL +29 arch/m32r/kernel/m32r_ksyms.c

^1da177e4 Linus Torvalds 2005-04-16  @1  #include <linux/module.h>
^1da177e4 Linus Torvalds 2005-04-16   2  #include <linux/smp.h>
^1da177e4 Linus Torvalds 2005-04-16   3  #include <linux/user.h>
^1da177e4 Linus Torvalds 2005-04-16   4  #include <linux/elfcore.h>
^1da177e4 Linus Torvalds 2005-04-16   5  #include <linux/sched.h>
^1da177e4 Linus Torvalds 2005-04-16   6  #include <linux/in6.h>
^1da177e4 Linus Torvalds 2005-04-16   7  #include <linux/interrupt.h>
^1da177e4 Linus Torvalds 2005-04-16   8  #include <linux/string.h>
^1da177e4 Linus Torvalds 2005-04-16   9  
^1da177e4 Linus Torvalds 2005-04-16  10  #include <asm/processor.h>
7c0f6ba68 Linus Torvalds 2016-12-24  11  #include <linux/uaccess.h>
^1da177e4 Linus Torvalds 2005-04-16  12  #include <asm/checksum.h>
^1da177e4 Linus Torvalds 2005-04-16  13  #include <asm/io.h>
^1da177e4 Linus Torvalds 2005-04-16  14  #include <asm/delay.h>
^1da177e4 Linus Torvalds 2005-04-16  15  #include <asm/irq.h>
^1da177e4 Linus Torvalds 2005-04-16  16  #include <asm/tlbflush.h>
affa6b120 Adrian Bunk    2008-09-24  17  #include <asm/pgtable.h>
^1da177e4 Linus Torvalds 2005-04-16  18  
^1da177e4 Linus Torvalds 2005-04-16  19  /* platform dependent support */
^1da177e4 Linus Torvalds 2005-04-16  20  EXPORT_SYMBOL(boot_cpu_data);
^1da177e4 Linus Torvalds 2005-04-16  21  EXPORT_SYMBOL(dump_fpu);
^1da177e4 Linus Torvalds 2005-04-16  22  EXPORT_SYMBOL(__ioremap);
^1da177e4 Linus Torvalds 2005-04-16  23  EXPORT_SYMBOL(iounmap);
^1da177e4 Linus Torvalds 2005-04-16  24  
^1da177e4 Linus Torvalds 2005-04-16  25  EXPORT_SYMBOL(strncpy_from_user);
^1da177e4 Linus Torvalds 2005-04-16  26  EXPORT_SYMBOL(__strncpy_from_user);
^1da177e4 Linus Torvalds 2005-04-16  27  EXPORT_SYMBOL(clear_user);
^1da177e4 Linus Torvalds 2005-04-16  28  EXPORT_SYMBOL(__clear_user);
^1da177e4 Linus Torvalds 2005-04-16 @29  EXPORT_SYMBOL(__generic_copy_from_user);
^1da177e4 Linus Torvalds 2005-04-16  30  EXPORT_SYMBOL(__generic_copy_to_user);
^1da177e4 Linus Torvalds 2005-04-16  31  EXPORT_SYMBOL(strnlen_user);
^1da177e4 Linus Torvalds 2005-04-16  32  

:::::: The code at line 29 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[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