Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3303925rwi; Fri, 21 Oct 2022 14:34:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4BYI7z4k7EyihFnBW3Gn7d7YJ7DTHu6bjrH7eSK80frIkWqPStR5TVzifJ1dHOkzak1UFT X-Received: by 2002:a05:6a00:1689:b0:557:9105:cf85 with SMTP id k9-20020a056a00168900b005579105cf85mr21392362pfc.55.1666388068477; Fri, 21 Oct 2022 14:34:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666388068; cv=none; d=google.com; s=arc-20160816; b=Bgjv4MaA1vvM7CF8L1hKuMoyNwd40BNsVh/zAyu8AM/q5obWQaizegWfrGd1BSUOWh sJWDQoWTWEjwJE+MnK7gE53rwO54fCcUxUFxu9yjd5W2wmRXxksXx6wX4pyn3pwl5oYq iBdYSVq3GouMuFj/H7/7pVELAwYfWjfSqADT+4pIpaisLyIBoh1ykGzPMpjzV5tUZNgo jSHDnyjlKECh7EcurwTmUL354JrRqLqRoXEDHHOQl9UHEi8C7G5drFrWd1U8nVQLePiH Mcid/w8pKIeEMsrd1smMCRnrQryJDgvj2jLq4zs56zbRs2Yz2Ji6V7XTyoocEqVvljdY miCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TlTgQjZ6hU47MTrM8mJWTu8EZRKysiHkFduS/3jLx7g=; b=W4gUcusE7D7fXUCk4Fox4jDTazdyPdrMa2X7I70EnbZRFjzPdielyirLO+oKL4lDB2 krpeS0BtUlrouZWEqsLEiYPn9tlDhSvL9D4f6uelbP65wLhMBJqfQq6vv6/RlUzmPeax l92P7Y89oq6YJKlcifV0a4tYSY7Xtg1cForoVwl50dTUZtGP1psuaXXerBWcbTZZAoJt 56jfv+wnfem6YX61bMu3mLGFvGAiKdFWzTwFkJkfRMzfbV7+nHU9g69fbHytO78WdqbZ cazfrgVjBV+9gSfVRHy50bKl0aPEfsFgUuZ0lnscU0cbr/v33333JjdDYCd+yOVIzTYj Vj2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NVwvpSCS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bd33-20020a056a0027a100b0056782f3bdf1si10808020pfb.19.2022.10.21.14.34.16; Fri, 21 Oct 2022 14:34:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NVwvpSCS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230013AbiJUVRx (ORCPT + 99 others); Fri, 21 Oct 2022 17:17:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229494AbiJUVRu (ORCPT ); Fri, 21 Oct 2022 17:17:50 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B81313E21 for ; Fri, 21 Oct 2022 14:17:49 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0B677B82D61 for ; Fri, 21 Oct 2022 21:17:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE209C433D6; Fri, 21 Oct 2022 21:17:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666387066; bh=UQnTE8Wn0Aldai7CTjAH/rvclTxZzkWskgC4ckiWDD8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NVwvpSCSzs+NWY0R1dhgs7IyXMoUq4pmRVlylGO9wtsZczWFerQNg+EC6JaVjlU1/ GSlDhj3IXadKemJYI3PaZsraXvf1pJLOPq/yVQsQVx2Xyif0cFd60BT4ui1nz0AhKx oG2ViC46US9e0JpZ21aFxidOt75e++B4fAFoXxfShB/JTItCtGuynRwdsNe37zeNf6 ViJdkfYxmYXtX/WRYutl4+DhK4SLBgiTy1CsurB8cQW3CUK1f993fuRTjCVtnge7zG WSix/w1uvSt/kMEkHWINUe+5d94HcCizRARpHjdWYys+TkQKqeCjGe6AZCFkCI2Pzd 5D95O8Wj5W7Wg== Date: Fri, 21 Oct 2022 14:17:44 -0700 From: Nathan Chancellor To: Miguel Ojeda Cc: Andrey Konovalov , Marco Elver , Kees Cook , Arnd Bergmann , Andrew Morton , Kumar Kartikeya Dwivedi , Nick Desaulniers , Uros Bizjak , Dan Li , Alexander Potapenko , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/5] compiler-gcc: be consistent with underscores use for `no_sanitize` Message-ID: References: <20221021115956.9947-1-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221021115956.9947-1-ojeda@kernel.org> X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 21, 2022 at 01:59:52PM +0200, Miguel Ojeda wrote: > Other macros that define shorthands for attributes in e.g. > `compiler_attributes.h` and elsewhere use underscores. > > Signed-off-by: Miguel Ojeda Reviewed-by: Nathan Chancellor > --- > include/linux/compiler-gcc.h | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h > index f55a37efdb97..b9530d3515ac 100644 > --- a/include/linux/compiler-gcc.h > +++ b/include/linux/compiler-gcc.h > @@ -83,25 +83,25 @@ > #endif > > #if __has_attribute(__no_sanitize_address__) > -#define __no_sanitize_address __attribute__((no_sanitize_address)) > +#define __no_sanitize_address __attribute__((__no_sanitize_address__)) > #else > #define __no_sanitize_address > #endif > > #if defined(__SANITIZE_THREAD__) && __has_attribute(__no_sanitize_thread__) > -#define __no_sanitize_thread __attribute__((no_sanitize_thread)) > +#define __no_sanitize_thread __attribute__((__no_sanitize_thread__)) > #else > #define __no_sanitize_thread > #endif > > #if __has_attribute(__no_sanitize_undefined__) > -#define __no_sanitize_undefined __attribute__((no_sanitize_undefined)) > +#define __no_sanitize_undefined __attribute__((__no_sanitize_undefined__)) > #else > #define __no_sanitize_undefined > #endif > > #if defined(CONFIG_KCOV) && __has_attribute(__no_sanitize_coverage__) > -#define __no_sanitize_coverage __attribute__((no_sanitize_coverage)) > +#define __no_sanitize_coverage __attribute__((__no_sanitize_coverage__)) > #else > #define __no_sanitize_coverage > #endif > > base-commit: 9abf2313adc1ca1b6180c508c25f22f9395cc780 > -- > 2.38.1 > >