From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB126C433FE for ; Fri, 21 Oct 2022 12:00:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230041AbiJUMA3 (ORCPT ); Fri, 21 Oct 2022 08:00:29 -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 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