All of lore.kernel.org
 help / color / mirror / Atom feed
* [hch-misc:maccess-fixups 2/8] arch/x86/mm/maccess.c:31:6: error: use of undeclared identifier 'strict'
@ 2020-05-05 17:10 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-05 17:10 UTC (permalink / raw)
  To: kbuild-all

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

tree:   git://git.infradead.org/users/hch/misc.git maccess-fixups
head:   e3856c252388cef173bdee11675b2970d9640a33
commit: d300c2379da66e0da428fdb9703a25e343814a6b [2/8] maccess: provide proper hooks for prohibiting probe_kernel_read & co
config: x86_64-randconfig-h001-20200503 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 9e3549804672c79d64eececab39019f4dfd2b7ea)
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout d300c2379da66e0da428fdb9703a25e343814a6b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

All errors (new ones prefixed by >>):

   arch/x86/mm/maccess.c:29:6: error: conflicting types for 'probe_kernel_read_allowed'
   bool probe_kernel_read_allowed(const void *src, long count)
        ^
   include/linux/uaccess.h:304:6: note: previous declaration is here
   bool probe_kernel_read_allowed(const void *src, size_t size, bool strict);
        ^
>> arch/x86/mm/maccess.c:31:6: error: use of undeclared identifier 'strict'
           if (strict)
               ^
   2 errors generated.

vim +/strict +31 arch/x86/mm/maccess.c

    28	
  > 29	bool probe_kernel_read_allowed(const void *src, long count)
    30	{
  > 31		if (strict)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-05 17:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-05 17:10 [hch-misc:maccess-fixups 2/8] arch/x86/mm/maccess.c:31:6: error: use of undeclared identifier 'strict' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.