[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANpmjNNWeM91Jmoh8aujpBA9YVfL6LSqH-taQO-6BJQwUZfCkw@mail.gmail.com>
Date: Thu, 7 Nov 2019 19:43:45 +0100
From: Marco Elver <elver@...gle.com>
To: kbuild test robot <lkp@...el.com>
Cc: kbuild-all@...ts.01.org,
LKMM Maintainers -- Akira Yokosawa <akiyks@...il.com>,
Alan Stern <stern@...land.harvard.edu>,
Alexander Potapenko <glider@...gle.com>,
Andrea Parri <parri.andrea@...il.com>,
Andrey Konovalov <andreyknvl@...gle.com>,
Andy Lutomirski <luto@...nel.org>,
Ard Biesheuvel <ard.biesheuvel@...aro.org>,
Arnd Bergmann <arnd@...db.de>,
Boqun Feng <boqun.feng@...il.com>,
Borislav Petkov <bp@...en8.de>, Daniel Axtens <dja@...ens.net>,
Daniel Lustig <dlustig@...dia.com>,
Dave Hansen <dave.hansen@...ux.intel.com>,
David Howells <dhowells@...hat.com>,
Dmitry Vyukov <dvyukov@...gle.com>,
"H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...hat.com>,
Jade Alglave <j.alglave@....ac.uk>,
Joel Fernandes <joel@...lfernandes.org>,
Jonathan Corbet <corbet@....net>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Luc Maranget <luc.maranget@...ia.fr>,
Mark Rutland <mark.rutland@....com>,
Nicholas Piggin <npiggin@...il.com>,
"Paul E. McKenney" <paulmck@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Will Deacon <will@...nel.org>,
kasan-dev <kasan-dev@...glegroups.com>,
linux-arch <linux-arch@...r.kernel.org>,
"open list:DOCUMENTATION" <linux-doc@...r.kernel.org>,
linux-efi@...r.kernel.org,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Linux Memory Management List <linux-mm@...ck.org>,
"the arch/x86 maintainers" <x86@...nel.org>
Subject: Re: [PATCH v3 1/9] kcsan: Add Kernel Concurrency Sanitizer infrastructure
On Wed, 6 Nov 2019 at 21:35, kbuild test robot <lkp@...el.com> wrote:
>
> Hi Marco,
>
> I love your patch! Perhaps something to improve:
>
> [auto build test WARNING on linus/master]
> [also build test WARNING on v5.4-rc6]
> [cannot apply to next-20191106]
> [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/Marco-Elver/Add-Kernel-Concurrency-Sanitizer-KCSAN/20191105-002542
> base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a99d8080aaf358d5d23581244e5da23b35e340b9
> config: x86_64-randconfig-a004-201944 (attached as .config)
> compiler: gcc-4.9 (Debian 4.9.2-10+deb8u1) 4.9.2
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=x86_64
>
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@...el.com>
Thanks! Will send v4 with a fix.
> All warnings (new ones prefixed by >>):
>
> In file included from include/linux/compiler_types.h:59:0,
> from <command-line>:0:
> >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef]
> # define __has_attribute(x) __GCC4_has_attribute_##x
> ^
> >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute'
> #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__)
> ^
> --
> In file included from include/linux/compiler_types.h:59:0,
> from <command-line>:0:
> >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef]
> # define __has_attribute(x) __GCC4_has_attribute_##x
> ^
> >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute'
> #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__)
> ^
> fs/afs/dynroot.c: In function 'afs_dynroot_lookup':
> fs/afs/dynroot.c:117:6: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized]
> ret = lookup_one_len(name, dentry->d_parent, len);
> ^
> fs/afs/dynroot.c:91:6: note: 'len' was declared here
> int len;
> ^
> --
> In file included from include/linux/compiler_types.h:59:0,
> from <command-line>:0:
> >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef]
> # define __has_attribute(x) __GCC4_has_attribute_##x
> ^
> >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute'
> #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__)
> ^
> 7 real 2 user 5 sys 107.26% cpu make modules_prepare
> --
> In file included from include/linux/compiler_types.h:59:0,
> from <command-line>:0:
> >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef]
> # define __has_attribute(x) __GCC4_has_attribute_##x
> ^
> >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute'
> #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__)
> ^
> In file included from include/linux/compiler_types.h:59:0,
> from <command-line>:0:
> >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef]
> # define __has_attribute(x) __GCC4_has_attribute_##x
> ^
> >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute'
> #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__)
> ^
> In file included from include/linux/compiler_types.h:59:0,
> from <command-line>:0:
> >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef]
> # define __has_attribute(x) __GCC4_has_attribute_##x
> ^
> >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute'
> #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__)
> ^
> In file included from include/linux/compiler_types.h:59:0,
> from <command-line>:0:
> >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef]
> # define __has_attribute(x) __GCC4_has_attribute_##x
> ^
> >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute'
> #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__)
> ^
> In file included from include/linux/compiler_types.h:59:0,
> from <command-line>:0:
> >> include/linux/compiler_attributes.h:35:29: warning: "__GCC4_has_attribute___no_sanitize_thread__" is not defined [-Wundef]
> # define __has_attribute(x) __GCC4_has_attribute_##x
> ^
> >> include/linux/compiler-gcc.h:148:5: note: in expansion of macro '__has_attribute'
> #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__)
> ^
> 8 real 24 user 10 sys 405.87% cpu make prepare
>
> vim +/__has_attribute +148 include/linux/compiler-gcc.h
>
> 147
> > 148 #if __has_attribute(__no_sanitize_thread__) && defined(__SANITIZE_THREAD__)
> 149 #define __no_sanitize_thread \
> 150 __attribute__((__noinline__)) __attribute__((no_sanitize_thread))
> 151 #else
> 152 #define __no_sanitize_thread
> 153 #endif
> 154
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
>
> --
> You received this message because you are subscribed to the Google Groups "kasan-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to kasan-dev+unsubscribe@...glegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/kasan-dev/201911070445.vRUSVUAX%25lkp%40intel.com.
Powered by blists - more mailing lists