linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: kbuild-all@lists.01.org, linux-fsdevel@vger.kernel.org,
	David Howells <dhowells@redhat.com>,
	Christian Brauner <christian@brauner.io>,
	Al Viro <viro@ZenIV.linux.org.uk>,
	Miklos Szeredi <miklos@szeredi.hu>
Subject: Re: [PATCH v2 4/6] fs: implement fsconfig via configfd
Date: Sun, 5 Jan 2020 10:56:04 +0800	[thread overview]
Message-ID: <202001051030.DA30GdeH%lkp@intel.com> (raw)
In-Reply-To: <20200104201432.27320-5-James.Bottomley@HansenPartnership.com>

[-- Attachment #1: Type: text/plain, Size: 8945 bytes --]

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@intel.com>

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@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 20602 bytes --]

  parent reply	other threads:[~2020-01-05  2:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-04 20:14 [PATCH v2 0/6] introduce configfd as generalisation of fsconfig James Bottomley
2020-01-04 20:14 ` [PATCH v2 1/6] logger: add a limited buffer logging facility James Bottomley
2020-01-04 20:14 ` [PATCH v2 2/6] configfd: add generic file descriptor based configuration parser James Bottomley
2020-01-06  3:58   ` kbuild test robot
2020-01-06  3:58   ` [RFC PATCH] configfd: configfd_context_fops can be static kbuild test robot
2020-01-04 20:14 ` [PATCH v2 3/6] configfd: syscall: wire up configfd syscalls James Bottomley
2020-01-04 20:14 ` [PATCH v2 4/6] fs: implement fsconfig via configfd James Bottomley
2020-01-05  1:12   ` kbuild test robot
2020-01-05  2:56   ` kbuild test robot [this message]
2020-01-11 19:58   ` kbuild test robot
2020-01-04 20:14 ` [PATCH v2 5/6] fs: expose internal interfaces open_detached_copy and do_reconfigure_mount James Bottomley
2020-01-04 20:14 ` [PATCH v2 6/6] fs: bind: add configfs type for bind mounts James Bottomley
2020-01-12 10:35   ` kbuild test robot
2020-01-12 10:35   ` [RFC PATCH] fs: bind: to_bind_data() can be static kbuild test robot
2020-01-05 16:23 ` [PATCH v2 0/6] introduce configfd as generalisation of fsconfig Christian Brauner
2020-01-05 17:51   ` James Bottomley
2020-01-05 18:02   ` James Bottomley
2020-01-08 17:07     ` Christian Brauner
2020-01-08 18:42       ` James Bottomley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202001051030.DA30GdeH%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=christian@brauner.io \
    --cc=dhowells@redhat.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    --cc=viro@ZenIV.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).