public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: kbuild-all@01.org, linux-kbuild@vger.kernel.org,
	Christoph Hellwig <hch@lst.de>, Arnd Bergmann <arnd@arndb.de>,
	Sam Ravnborg <sam@ravnborg.org>,
	Masahiro Yamada <yamada.masahiro@socionext.com>,
	Alexei Starovoitov <ast@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Martin KaFai Lau <kafai@fb.com>, Song Liu <songliubraving@fb.com>,
	Yonghong Song <yhs@fb.com>,
	bpf@vger.kernel.org, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org
Subject: Re: [PATCH v2] kbuild: re-implement detection of CONFIG options leaked to user-space
Date: Sun, 11 Aug 2019 11:28:26 +0800	[thread overview]
Message-ID: <201908111159.lR0tJ0MI%lkp@intel.com> (raw)
In-Reply-To: <20190810170135.31183-1-yamada.masahiro@socionext.com>

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

Hi Masahiro,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[cannot apply to v5.3-rc3 next-20190809]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Masahiro-Yamada/kbuild-re-implement-detection-of-CONFIG-options-leaked-to-user-space/20190811-085800
config: arc-allyesconfig (attached as .config)
compiler: arc-elf-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=arc 

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

All warnings (new ones prefixed by >>):

   warning: include/uapi/asm-generic/fcntl.h: leak CONFIG_64BIT to user-space
   warning: include/uapi/linux/raw.h: leak CONFIG_MAX_RAW_DEVS to user-space
   warning: include/uapi/linux/pktcdvd.h: leak CONFIG_CDROM_PKTCDVD_WCACHE to user-space
   warning: include/uapi/linux/hw_breakpoint.h: leak CONFIG_HAVE_MIXED_BREAKPOINTS_REGS to user-space
   warning: include/uapi/linux/eventpoll.h: leak CONFIG_PM_SLEEP to user-space
   warning: include/uapi/linux/elfcore.h: leak CONFIG_BINFMT_ELF_FDPIC to user-space
   warning: include/uapi/linux/atmdev.h: leak CONFIG_COMPAT to user-space
>> warning: arch/arc/include/uapi/asm/swab.h: leak CONFIG_ARC_HAS_SWAPE to user-space
>> warning: arch/arc/include/uapi/asm/page.h: leak CONFIG_ARC_PAGE_SIZE_16K to user-space
>> warning: arch/arc/include/uapi/asm/page.h: leak CONFIG_ARC_PAGE_SIZE_4K to user-space
   In file included from arch/arc/include/asm/atomic.h:13:0,
                    from include/linux/atomic.h:7,
                    from include/asm-generic/bitops/lock.h:5,
                    from arch/arc/include/asm/bitops.h:426,
                    from include/linux/bitops.h:19,
                    from include/linux/kernel.h:12,
                    from include/asm-generic/bug.h:18,
                    from arch/arc/include/asm/bug.h:29,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   arch/arc/include/asm/cmpxchg.h: In function '__xchg':
   arch/arc/include/asm/cmpxchg.h:191:19: error: 'CTOP_INST_XEX_DI_R2_R2_R3' undeclared (first use in this function)
      : "r"(ptr), "i"(CTOP_INST_XEX_DI_R2_R2_R3)
                      ^~~~~~~~~~~~~~~~~~~~~~~~~
   arch/arc/include/asm/cmpxchg.h:191:19: note: each undeclared identifier is reported only once for each function it appears in
   In file included from include/linux/atomic.h:7:0,
                    from include/asm-generic/bitops/lock.h:5,
                    from arch/arc/include/asm/bitops.h:426,
                    from include/linux/bitops.h:19,
                    from include/linux/kernel.h:12,
                    from include/asm-generic/bug.h:18,
                    from arch/arc/include/asm/bug.h:29,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   arch/arc/include/asm/atomic.h: In function 'atomic_add':
   arch/arc/include/asm/atomic.h:286:21: error: 'CTOP_INST_AADD_DI_R2_R2_R3' undeclared (first use in this function)
    ATOMIC_OPS(add, +=, CTOP_INST_AADD_DI_R2_R2_R3)
                        ^
   arch/arc/include/asm/atomic.h:231:34: note: in definition of macro 'ATOMIC_OP'
     : "r"(i), "r"(&v->counter), "i"(asm_op)    \
                                     ^~~~~~
   arch/arc/include/asm/atomic.h:286:1: note: in expansion of macro 'ATOMIC_OPS'
    ATOMIC_OPS(add, +=, CTOP_INST_AADD_DI_R2_R2_R3)
    ^~~~~~~~~~
   arch/arc/include/asm/atomic.h: In function 'atomic_add_return':
   arch/arc/include/asm/atomic.h:286:21: error: 'CTOP_INST_AADD_DI_R2_R2_R3' undeclared (first use in this function)
    ATOMIC_OPS(add, +=, CTOP_INST_AADD_DI_R2_R2_R3)
                        ^
   arch/arc/include/asm/atomic.h:249:26: note: in definition of macro 'ATOMIC_OP_RETURN'
     : "r"(&v->counter), "i"(asm_op)     \
                             ^~~~~~
   arch/arc/include/asm/atomic.h:286:1: note: in expansion of macro 'ATOMIC_OPS'
    ATOMIC_OPS(add, +=, CTOP_INST_AADD_DI_R2_R2_R3)
    ^~~~~~~~~~
   arch/arc/include/asm/atomic.h: In function 'atomic_fetch_add':
   arch/arc/include/asm/atomic.h:286:21: error: 'CTOP_INST_AADD_DI_R2_R2_R3' undeclared (first use in this function)
    ATOMIC_OPS(add, +=, CTOP_INST_AADD_DI_R2_R2_R3)
                        ^
   arch/arc/include/asm/atomic.h:273:26: note: in definition of macro 'ATOMIC_FETCH_OP'
     : "r"(&v->counter), "i"(asm_op)     \
                             ^~~~~~
   arch/arc/include/asm/atomic.h:286:1: note: in expansion of macro 'ATOMIC_OPS'
    ATOMIC_OPS(add, +=, CTOP_INST_AADD_DI_R2_R2_R3)
    ^~~~~~~~~~
   arch/arc/include/asm/atomic.h: In function 'atomic_and':
   arch/arc/include/asm/atomic.h:296:21: error: 'CTOP_INST_AAND_DI_R2_R2_R3' undeclared (first use in this function)
    ATOMIC_OPS(and, &=, CTOP_INST_AAND_DI_R2_R2_R3)
                        ^
   arch/arc/include/asm/atomic.h:231:34: note: in definition of macro 'ATOMIC_OP'
     : "r"(i), "r"(&v->counter), "i"(asm_op)    \
                                     ^~~~~~
   arch/arc/include/asm/atomic.h:296:1: note: in expansion of macro 'ATOMIC_OPS'
    ATOMIC_OPS(and, &=, CTOP_INST_AAND_DI_R2_R2_R3)
    ^~~~~~~~~~
   arch/arc/include/asm/atomic.h: In function 'atomic_fetch_and':
   arch/arc/include/asm/atomic.h:296:21: error: 'CTOP_INST_AAND_DI_R2_R2_R3' undeclared (first use in this function)
    ATOMIC_OPS(and, &=, CTOP_INST_AAND_DI_R2_R2_R3)
                        ^
   arch/arc/include/asm/atomic.h:273:26: note: in definition of macro 'ATOMIC_FETCH_OP'
     : "r"(&v->counter), "i"(asm_op)     \
                             ^~~~~~
   arch/arc/include/asm/atomic.h:296:1: note: in expansion of macro 'ATOMIC_OPS'
    ATOMIC_OPS(and, &=, CTOP_INST_AAND_DI_R2_R2_R3)
    ^~~~~~~~~~
   arch/arc/include/asm/atomic.h: In function 'atomic_or':
   arch/arc/include/asm/atomic.h:297:20: error: 'CTOP_INST_AOR_DI_R2_R2_R3' undeclared (first use in this function)
    ATOMIC_OPS(or, |=, CTOP_INST_AOR_DI_R2_R2_R3)
                       ^
   arch/arc/include/asm/atomic.h:231:34: note: in definition of macro 'ATOMIC_OP'
     : "r"(i), "r"(&v->counter), "i"(asm_op)    \
                                     ^~~~~~
   arch/arc/include/asm/atomic.h:297:1: note: in expansion of macro 'ATOMIC_OPS'
    ATOMIC_OPS(or, |=, CTOP_INST_AOR_DI_R2_R2_R3)
    ^~~~~~~~~~
   arch/arc/include/asm/atomic.h: In function 'atomic_fetch_or':
   arch/arc/include/asm/atomic.h:297:20: error: 'CTOP_INST_AOR_DI_R2_R2_R3' undeclared (first use in this function)
    ATOMIC_OPS(or, |=, CTOP_INST_AOR_DI_R2_R2_R3)
                       ^
   arch/arc/include/asm/atomic.h:273:26: note: in definition of macro 'ATOMIC_FETCH_OP'
     : "r"(&v->counter), "i"(asm_op)     \
                             ^~~~~~
   arch/arc/include/asm/atomic.h:297:1: note: in expansion of macro 'ATOMIC_OPS'
    ATOMIC_OPS(or, |=, CTOP_INST_AOR_DI_R2_R2_R3)
    ^~~~~~~~~~
   arch/arc/include/asm/atomic.h: In function 'atomic_xor':
   arch/arc/include/asm/atomic.h:298:21: error: 'CTOP_INST_AXOR_DI_R2_R2_R3' undeclared (first use in this function)
    ATOMIC_OPS(xor, ^=, CTOP_INST_AXOR_DI_R2_R2_R3)
                        ^

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

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

  parent reply	other threads:[~2019-08-11  3:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-10 17:01 [PATCH v2] kbuild: re-implement detection of CONFIG options leaked to user-space Masahiro Yamada
2019-08-10 17:07 ` Sam Ravnborg
2019-08-11  2:50 ` kbuild test robot
2019-08-11  3:28 ` kbuild test robot [this message]
2019-08-19 14:55 ` Masahiro Yamada

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=201908111159.lR0tJ0MI%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=arnd@arndb.de \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=hch@lst.de \
    --cc=kafai@fb.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=sam@ravnborg.org \
    --cc=songliubraving@fb.com \
    --cc=yamada.masahiro@socionext.com \
    --cc=yhs@fb.com \
    /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