Re: [PATCH v2 4/6] fs: implement fsconfig via configfd

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

 



Hi James,

I love your patch! Yet something to improve:

[auto build test ERROR on s390/features]
[also build test ERROR on linus/master v5.5-rc4]
[cannot apply to arm64/for-next/core tip/x86/asm arm/for-next ia64/next m68k/for-next hp-parisc/for-next powerpc/next sparc-next/master next-20191220]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/James-Bottomley/introduce-configfd-as-generalisation-of-fsconfig/20200105-080415
base:   https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git features
config: mips-64r6el_defconfig (attached as .config)
compiler: mips64el-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=mips 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   In file included from include/linux/module.h:30:0,
                    from include/linux/logger.h:6,
                    from include/linux/configfd.h:6,
                    from include/linux/fs.h:5,
                    from arch/mips/include/asm/elf.h:12,
                    from include/linux/elf.h:5,
                    from arch/mips/kernel/elf.c:8:
   arch/mips/include/asm/module.h:20:2: error: unknown type name 'Elf64_Addr'
     Elf64_Addr r_offset;   /* Address of relocation.  */
     ^~~~~~~~~~
   arch/mips/include/asm/module.h:21:2: error: unknown type name 'Elf64_Word'
     Elf64_Word r_sym;   /* Symbol index.  */
     ^~~~~~~~~~
   arch/mips/include/asm/module.h:29:2: error: unknown type name 'Elf64_Addr'
     Elf64_Addr r_offset;   /* Address of relocation.  */
     ^~~~~~~~~~
   arch/mips/include/asm/module.h:30:2: error: unknown type name 'Elf64_Word'
     Elf64_Word r_sym;   /* Symbol index.  */
     ^~~~~~~~~~
   arch/mips/include/asm/module.h:35:2: error: unknown type name 'Elf64_Sxword'
     Elf64_Sxword r_addend;   /* Addend.  */
     ^~~~~~~~~~~~
>> arch/mips/include/asm/module.h:58:18: error: unknown type name 'Elf64_Sym'
    #define Elf_Sym  Elf64_Sym
                     ^
   include/linux/module.h:335:2: note: in expansion of macro 'Elf_Sym'
     Elf_Sym *symtab;
     ^~~~~~~
>> arch/mips/include/asm/module.h:58:18: error: unknown type name 'Elf64_Sym'
    #define Elf_Sym  Elf64_Sym
                     ^
   include/linux/module.h:519:57: note: in expansion of macro 'Elf_Sym'
    static inline unsigned long kallsyms_symbol_value(const Elf_Sym *sym)
                                                            ^~~~~~~
   In file included from include/linux/logger.h:6:0,
                    from include/linux/configfd.h:6,
                    from include/linux/fs.h:5,
                    from arch/mips/include/asm/elf.h:12,
                    from include/linux/elf.h:5,
                    from arch/mips/kernel/elf.c:8:
   include/linux/module.h: In function 'kallsyms_symbol_value':
   include/linux/module.h:521:12: error: request for member 'st_value' in something not a structure or union
     return sym->st_value;
               ^~
   In file included from include/linux/module.h:30:0,
                    from include/linux/logger.h:6,
                    from include/linux/configfd.h:6,
                    from include/linux/fs.h:5,
                    from arch/mips/include/asm/elf.h:12,
                    from include/linux/elf.h:5,
                    from arch/mips/kernel/elf.c:8:
   include/linux/module.h: At top level:
>> arch/mips/include/asm/module.h:59:18: error: unknown type name 'Elf64_Ehdr'
    #define Elf_Ehdr Elf64_Ehdr
                     ^
   include/linux/module.h:870:46: note: in expansion of macro 'Elf_Ehdr'
    static inline void module_bug_finalize(const Elf_Ehdr *hdr,
                                                 ^~~~~~~~
>> arch/mips/include/asm/module.h:57:18: error: unknown type name 'Elf64_Shdr'
    #define Elf_Shdr Elf64_Shdr
                     ^
   include/linux/module.h:871:12: note: in expansion of macro 'Elf_Shdr'
         const Elf_Shdr *sechdrs,
               ^~~~~~~~

vim +/Elf64_Sym +58 arch/mips/include/asm/module.h

4e6a05fe5f87ef include/asm-mips/module.h      Thiemo Seufer  2005-02-21  27  
4e6a05fe5f87ef include/asm-mips/module.h      Thiemo Seufer  2005-02-21  28  typedef struct {
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16 @29  	Elf64_Addr r_offset;			/* Address of relocation.  */
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16  30  	Elf64_Word r_sym;			/* Symbol index.  */
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16  31  	Elf64_Byte r_ssym;			/* Special symbol.  */
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16  32  	Elf64_Byte r_type3;			/* Third relocation.  */
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16  33  	Elf64_Byte r_type2;			/* Second relocation.  */
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16  34  	Elf64_Byte r_type;			/* First relocation.  */
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16  35  	Elf64_Sxword r_addend;			/* Addend.  */
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16  36  } Elf64_Mips_Rela;
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16  37  
875d43e72b5bf2 include/asm-mips/module.h      Ralf Baechle   2005-09-03  38  #ifdef CONFIG_32BIT
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16  39  #define Elf_Shdr	Elf32_Shdr
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16  40  #define Elf_Sym		Elf32_Sym
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16  41  #define Elf_Ehdr	Elf32_Ehdr
4e6a05fe5f87ef include/asm-mips/module.h      Thiemo Seufer  2005-02-21  42  #define Elf_Addr	Elf32_Addr
786d35d45cc40b arch/mips/include/asm/module.h David Howells  2012-09-28  43  #define Elf_Rel		Elf32_Rel
786d35d45cc40b arch/mips/include/asm/module.h David Howells  2012-09-28  44  #define Elf_Rela	Elf32_Rela
786d35d45cc40b arch/mips/include/asm/module.h David Howells  2012-09-28  45  #define ELF_R_TYPE(X)	ELF32_R_TYPE(X)
786d35d45cc40b arch/mips/include/asm/module.h David Howells  2012-09-28  46  #define ELF_R_SYM(X)	ELF32_R_SYM(X)
4e6a05fe5f87ef include/asm-mips/module.h      Thiemo Seufer  2005-02-21  47  
4e6a05fe5f87ef include/asm-mips/module.h      Thiemo Seufer  2005-02-21  48  #define Elf_Mips_Rel	Elf32_Rel
4e6a05fe5f87ef include/asm-mips/module.h      Thiemo Seufer  2005-02-21  49  #define Elf_Mips_Rela	Elf32_Rela
4e6a05fe5f87ef include/asm-mips/module.h      Thiemo Seufer  2005-02-21  50  
430d0b88943aff arch/mips/include/asm/module.h Paul Burton    2017-03-30  51  #define ELF_MIPS_R_SYM(rel) ELF32_R_SYM((rel).r_info)
430d0b88943aff arch/mips/include/asm/module.h Paul Burton    2017-03-30  52  #define ELF_MIPS_R_TYPE(rel) ELF32_R_TYPE((rel).r_info)
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16  53  
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16  54  #endif
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16  55  
875d43e72b5bf2 include/asm-mips/module.h      Ralf Baechle   2005-09-03  56  #ifdef CONFIG_64BIT
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16 @57  #define Elf_Shdr	Elf64_Shdr
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16 @58  #define Elf_Sym		Elf64_Sym
^1da177e4c3f41 include/asm-mips/module.h      Linus Torvalds 2005-04-16 @59  #define Elf_Ehdr	Elf64_Ehdr
4e6a05fe5f87ef include/asm-mips/module.h      Thiemo Seufer  2005-02-21  60  #define Elf_Addr	Elf64_Addr
786d35d45cc40b arch/mips/include/asm/module.h David Howells  2012-09-28  61  #define Elf_Rel		Elf64_Rel
786d35d45cc40b arch/mips/include/asm/module.h David Howells  2012-09-28  62  #define Elf_Rela	Elf64_Rela
786d35d45cc40b arch/mips/include/asm/module.h David Howells  2012-09-28  63  #define ELF_R_TYPE(X)	ELF64_R_TYPE(X)
786d35d45cc40b arch/mips/include/asm/module.h David Howells  2012-09-28  64  #define ELF_R_SYM(X)	ELF64_R_SYM(X)
4e6a05fe5f87ef include/asm-mips/module.h      Thiemo Seufer  2005-02-21  65  

:::::: The code at line 58 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/hyperkitty/list/kbuild-all@xxxxxxxxxxxx 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