Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1350452ybx; Thu, 7 Nov 2019 10:45:20 -0800 (PST) X-Google-Smtp-Source: APXvYqy4+r6QU/c+YxeBH8GHe9aUwRgYG+tYSNyJepx5wjDAGriQ2RbMQEkQvg+WE6QkZjZuJ65f X-Received: by 2002:a17:906:2654:: with SMTP id i20mr4520578ejc.163.1573152319893; Thu, 07 Nov 2019 10:45:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573152319; cv=none; d=google.com; s=arc-20160816; b=b9hEjDejwH5evwoTnmEJ1tpdYE2z83mEmlkv2xlg1Xt+/sZPKjM7EFganT8JrXu9zO AR1bsGgaGOo6SOinX9OmZ8r6/qc+YcW500b07Gr9aF+M94fmiVh4I8s01zI7Zfuxa1dx oI0oc2ikROLhmMyE3OEGiD1zvQ6fmAqELPyEV9sBCAZP8rmKcqBfAHDCEe4dmeRLnTak BU7uGtj144F3DM22xinp85/QLWl5FGKDpCidRdLKzcgZWmQ2rs/ONZcQ9azOV7p2a0ac oWHXy0Cuw7ABHdnczcnexIjTVnaQWOOgggwWwPq7qbnexDs64kMm6QqeOMi6BoIsOxw+ GJSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Np0FlikDqTmwL51OIp1+s+VGLrj6Eo2iSbS+rqBgcFU=; b=e883/9/gJYaOGj+dvTDFDCbuKWou0QFPuNpOPJCIe4BkDYgilDKUxM0tqNLO5gWX1I tXeSPxTddZ37+hn7+CrtuuHrDboNT+TudGvrIDbnBunHNlbtvwNWqqAV5Me8wahqP+t+ EiSKt41ukgJFbCeTgfjN1HP9DSgR/CrFKtxDS6KcwmNnhjMJLsMA7hotkXS/jTmTg3bX JpqG7UWD9TWcMbd4qHcd8TuSaFWLlHpET0eXqZoN+4q8BQuHhpYGOkgKMGRzf7P4TLCO VQ4mokOFbTE5vCvJPW+aB3nWCGVEey784Q18opDAbif1+b7EptoHGW2cSCc3ygquT+Md v5BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=X+s4tLRe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gg4si2023092ejb.236.2019.11.07.10.44.56; Thu, 07 Nov 2019 10:45:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=X+s4tLRe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727206AbfKGSn7 (ORCPT + 99 others); Thu, 7 Nov 2019 13:43:59 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:39072 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726656AbfKGSn6 (ORCPT ); Thu, 7 Nov 2019 13:43:58 -0500 Received: by mail-ot1-f68.google.com with SMTP id e17so2918458otk.6 for ; Thu, 07 Nov 2019 10:43:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Np0FlikDqTmwL51OIp1+s+VGLrj6Eo2iSbS+rqBgcFU=; b=X+s4tLRet1xj+dqvHmXEfS/YHLe9+sdvUDznD6OlUWI1efIcn7AG/F2h+d/MAYLkzE RZAo2vYVy43hDiFbRXlMXoJJpsQgmQQStj+TuVAMQsuH8uyG1troWMTHxgRUkoaA2D0M lX78jV+zpKCFZNmj7pCPrLLYtNjxrJOdz0gg63KPn5E1sBi6CN2r3YbiZ/l0EebGtLvZ NtNYsP79rjcjCNmbUCeWEhAOfhSnRP/IZaWkcKtAJd6EriACLLGruAoJfWiVaoiu5qlN 6h+gGPib2+VjxvGXiD9ykfXsmY75IIvFAAhMpUzqeAR1f4jvFwGMm/A3rlvbZJ9CCx90 h7sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Np0FlikDqTmwL51OIp1+s+VGLrj6Eo2iSbS+rqBgcFU=; b=i+Yx0lhsshRH4p8dKjaVnqa6cxHjfP6JzghfAvIn3OL2cVB6aFNhmqDTPJwGGOZXUn JZrurr39J04Wx3xvXnS3IJfzBJpIhV6iwmrSbmhhwSee0h0lE/Ft5QD5ZlkVBroKbQEA 1jnDPCM9nZ6y+5z7kp2T+uO/OD8Qdf4A7J93C2pEQphLFfL8Gi+F0RHYW+uEP4S8kZxa hiGLXczv+suoFjvneQscbC3NJ2OSDLHcqHAZdmPfuXEwcXyE/8x9+KOM57QCB6icW7HO yYGylflVGEYuew0BlYWVICgj6gN6oB/u/J7LJ84Hyna3t6jy5wGNb0rcdl61NtNbKOBm 0jBQ== X-Gm-Message-State: APjAAAUpTTS6Z/GK0wIr8juY+7oB+U4MioR/9aEBfjJR6DcDqfd/er11 QIChXVRaSptdEdzWVoEcxmyL3aQfVVn0t5v+15wj3Q== X-Received: by 2002:a05:6830:1e84:: with SMTP id n4mr4371298otr.233.1573152236918; Thu, 07 Nov 2019 10:43:56 -0800 (PST) MIME-Version: 1.0 References: <20191104142745.14722-2-elver@google.com> <201911070445.vRUSVUAX%lkp@intel.com> In-Reply-To: <201911070445.vRUSVUAX%lkp@intel.com> From: Marco Elver Date: Thu, 7 Nov 2019 19:43:45 +0100 Message-ID: Subject: Re: [PATCH v3 1/9] kcsan: Add Kernel Concurrency Sanitizer infrastructure To: kbuild test robot Cc: kbuild-all@lists.01.org, LKMM Maintainers -- Akira Yokosawa , Alan Stern , Alexander Potapenko , Andrea Parri , Andrey Konovalov , Andy Lutomirski , Ard Biesheuvel , Arnd Bergmann , Boqun Feng , Borislav Petkov , Daniel Axtens , Daniel Lustig , Dave Hansen , David Howells , Dmitry Vyukov , "H. Peter Anvin" , Ingo Molnar , Jade Alglave , Joel Fernandes , Jonathan Corbet , Josh Poimboeuf , Luc Maranget , Mark Rutland , Nicholas Piggin , "Paul E. McKenney" , Peter Zijlstra , Thomas Gleixner , Will Deacon , kasan-dev , linux-arch , "open list:DOCUMENTATION" , linux-efi@vger.kernel.org, Linux Kbuild mailing list , LKML , Linux Memory Management List , "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 6 Nov 2019 at 21:35, kbuild test robot 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 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 :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 :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 :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 :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 :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 :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 :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 :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@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/kasan-dev/201911070445.vRUSVUAX%25lkp%40intel.com.