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 1BA7CC433FE for ; Wed, 9 Nov 2022 01:41:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230032AbiKIBlE (ORCPT ); Tue, 8 Nov 2022 20:41:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230063AbiKIBkC (ORCPT ); Tue, 8 Nov 2022 20:40:02 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63150657D9 for ; Tue, 8 Nov 2022 17:39:17 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id F2A11617F0 for ; Wed, 9 Nov 2022 01:39:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53F5FC433B5; Wed, 9 Nov 2022 01:39:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1667957956; bh=zaDpG2DvHbCa+oeob8zNrSSLB8tvD4PkyosnLaL+aXM=; h=Date:To:From:Subject:From; b=GbAQfcmD0RMpQVfbj72PdH+QHV/9/tQtxVMyXRngkpi3Ix9NBxB1Czh441DcLWZbm AMt6dgAjtHvc2il/9pojMZFjNZaZHaoSothyiJppV86v7dxn6OWb7J0yfOlvh1KNUZ 1WySzjuVZwZQZWndBH6wARpQrc5G+qqWb8jGXfJo= Date: Tue, 08 Nov 2022 17:39:15 -0800 To: mm-commits@vger.kernel.org, ubizjak@gmail.com, ndesaulniers@google.com, nathan@kernel.org, memxor@gmail.com, keescook@chromium.org, glider@google.com, elver@google.com, ashimida@linux.alibaba.com, arnd@arndb.de, andreyknvl@gmail.com, ojeda@kernel.org, akpm@linux-foundation.org From: Andrew Morton Subject: [merged mm-stable] compiler-gcc-remove-attribute-support-check-for-__no_sanitize_address__.patch removed from -mm tree Message-Id: <20221109013916.53F5FC433B5@smtp.kernel.org> Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The quilt patch titled Subject: compiler-gcc: remove attribute support check for `__no_sanitize_address__` has been removed from the -mm tree. Its filename was compiler-gcc-remove-attribute-support-check-for-__no_sanitize_address__.patch This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm ------------------------------------------------------ From: Miguel Ojeda Subject: compiler-gcc: remove attribute support check for `__no_sanitize_address__` Date: Fri, 21 Oct 2022 13:59:53 +0200 The attribute was added in GCC 4.8, while the minimum GCC version supported by the kernel is GCC 5.1. Therefore, remove the check. Link: https://godbolt.org/z/84v56vcn8 Link: https://lkml.kernel.org/r/20221021115956.9947-2-ojeda@kernel.org Signed-off-by: Miguel Ojeda Reviewed-by: Nathan Chancellor Cc: Alexander Potapenko Cc: Andrey Konovalov Cc: Arnd Bergmann Cc: Dan Li Cc: Kees Cook Cc: Kumar Kartikeya Dwivedi Cc: Marco Elver Cc: Nick Desaulniers Cc: Uros Bizjak Signed-off-by: Andrew Morton --- include/linux/compiler-gcc.h | 4 ---- 1 file changed, 4 deletions(-) --- a/include/linux/compiler-gcc.h~compiler-gcc-remove-attribute-support-check-for-__no_sanitize_address__ +++ a/include/linux/compiler-gcc.h @@ -82,11 +82,7 @@ #define __noscs __attribute__((__no_sanitize__("shadow-call-stack"))) #endif -#if __has_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__)) _ Patches currently in -mm which might be from ojeda@kernel.org are