Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2561257rwi; Fri, 21 Oct 2022 05:26:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7xlA/41MjiX7g57H+6oglT29AZzG/cOG6iPoLL4K89qss0TUaZ1Y5KbYY7ZQ+V1cK28Q2R X-Received: by 2002:a17:907:6e22:b0:78d:cce6:c29b with SMTP id sd34-20020a1709076e2200b0078dcce6c29bmr15058385ejc.300.1666355193511; Fri, 21 Oct 2022 05:26:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666355193; cv=none; d=google.com; s=arc-20160816; b=sbeN4yH4KXdY9XuTkSvXJcTr7rus4IJylnbGMFlhNQrrV+PN3Z2FN15RkxEDo8wmdB 3FAOYM6WNxCXogZ1JEKJdUwPeZ3FLbcz3lVi73OYrHlG/yNKMcyozNiKZhkelDcRYWqw GzALyRMRqNgNsF+4jIgPghD8XW6iOlvoPnVBvB8SvZMZild+YbeTUu9AgfIdbIysL/N4 EivUpxg0PhW0/W8Z3D9R9c2xX/Ubc7SVTCbR9qnr87pGUZeAMATFs9OwEOJ94taAjc1k yy+Jw7kbjN3JY91RB9XF/Lc0mFeVZgaN0yNglAGFYWxqDvIvq3pXyx1ViEWmLgoPc4Nl Zmug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=qEnY/tYRtqHG2Qfa00jTQhr8RMAKK4jMsdIiqcf11aw=; b=wBHjdZbJxd1MXImZ2WvwIEIZITXTkFwFx48pqsIkDcsDGUV0TeRJ2qy5OLxzrGMXI5 ODo/XLQhPhjEiqy6iLbXsRoCnkyYtqT+VC1hVB2BkEph1MZRtuhtO7Ysi2HUTa2sof3o KlLvlxXW/nbgHYWqLaeCn+S7FRuVU67my89ANU1AVLBHjj/NcsN1WLwp8VvwKDmcRuzh E9CFM0tCbcSG1OZl2EoUWA6ftSNp/xfIcxhvZb+wZXefysKyQDR37yoD6NbyusC/LckS xsW5GYLZ2Tdbi729A8Cnhx78MkWQ1pIaZqPcT9Z7+2PszEYWriYGoLSF8Dcpy0VJhyaB 7C8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dF4pLXzg; 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 m7-20020a056402510700b0045935adb5b1si22148512edd.395.2022.10.21.05.26.07; Fri, 21 Oct 2022 05:26:33 -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=dF4pLXzg; 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 S229919AbiJUMA2 (ORCPT + 99 others); Fri, 21 Oct 2022 08:00:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229816AbiJUMA0 (ORCPT ); Fri, 21 Oct 2022 08:00:26 -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 831B824C10A for ; Fri, 21 Oct 2022 05:00:25 -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 85E68B82B93 for ; Fri, 21 Oct 2022 12:00:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 264AEC433D6; Fri, 21 Oct 2022 12:00:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666353622; bh=k8JUHW9fchhpucbQdTqeS+XpjxIaOPmsYLjmQJ8UZt0=; h=From:To:Cc:Subject:Date:From; b=dF4pLXzg6J4TMw39jr2J4A25Xhwm4piQylhLCHimblU8Uw7VsAofbSTAYtnTdnOxV /lTYg3DbdATbgMBqCeoCBCIN0m35HnCl2SbOEPWe1JtjnGNG35FVLy0oeukNqlxkq6 OG8mzxkg0UjTQAMy2IfxuW0l6/bzB/CvRxZxWT+qH3/NXyk+YcwEUdg41zdbwbvXmw rBn5PZJ671ijJVSfoe7mqu2RyAfemnsRdfXvdnZxSSJJu3/ToXfDDemxRZyceG+miK phx+V6K0Wl9/IWHANeIqGlKcywz27XEqMJZdLPhWAnQVUCVhf4fFVSLrlHkhgO6urI IsDagljFJh/mg== From: Miguel Ojeda To: Andrey Konovalov , Marco Elver , Kees Cook , Arnd Bergmann Cc: Andrew Morton , Kumar Kartikeya Dwivedi , Nick Desaulniers , Nathan Chancellor , Uros Bizjak , Dan Li , Alexander Potapenko , Miguel Ojeda , linux-kernel@vger.kernel.org Subject: [PATCH 1/5] compiler-gcc: be consistent with underscores use for `no_sanitize` Date: Fri, 21 Oct 2022 13:59:52 +0200 Message-Id: <20221021115956.9947-1-ojeda@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Other macros that define shorthands for attributes in e.g. `compiler_attributes.h` and elsewhere use underscores. Signed-off-by: Miguel Ojeda --- 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