Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1297981rwb; Fri, 7 Oct 2022 10:32:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7gjecmBEE8CSl59lKQ3xz4TGfI/RPcUdIqUK+6b9vCVj9JuajEYupKlrYrWJf2B1Kn5Pa1 X-Received: by 2002:a17:906:9fc1:b0:761:9192:504f with SMTP id hj1-20020a1709069fc100b007619192504fmr5015131ejc.116.1665163926115; Fri, 07 Oct 2022 10:32:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665163926; cv=none; d=google.com; s=arc-20160816; b=AWf6MgaLBwelkHYsw1nsmXjJ9h4bbTJflbB2Lnfh461xMNyeOHYS5XwWA88LBDp/Ak 0ishmJhPckbtA53OEX1tlSVcvM4uX4pxqqa8cy/8ZaA2+L/h/Au/KInmEA7UDJ/OMtTg RohnCUv7QoIkKOaE0TsOTRhUigtywbYB+yTnPjFOCUhqNgP15S7bdZjB836+/fDxcQZp 7J2EmZvBUHPs50uOpFMeFngEdEayYjdy1h5JPQgLvPxDG0UeeCHVF2/McHA+rB6u+h4L PQlFS8pukOOKnOB6uUgXvaAvDrjxPEp9dcRvGWRtVoy90UAJhrGevMlcbBBL9VHBFEQG m1ew== 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:references:in-reply-to:subject:cc:to:dkim-signature :from; bh=yWWstJ0SxaiWCJ8yChG5yXzzTd8E+OEk2k17cMD7mTk=; b=JPYfwkYn5SH40VREsngpPXv9qbXpyB6g+6UWwuYbkeTNLlQKtVoaLqA1J/ZjoP1zdL hpXg4q7/eKv7B++/8rRNzEyCa70gyB2qoCyX+qlJMrZrqrfw68IepiM46H+oIlRFRFe5 Auvj3zP8b/JHTMptzhqZbZVoCkwLHp5kSgkyrhIsiuMFzdQImedj0NzblSXY5gQelvzA 5vATXebWpQrhM82kYHNNRhC2Z9C0B/UKsyVZ9KIgXS6hGKoI+CbCsyQcVkejozaC4zP0 U37PDkNR19Y1Slmtenzmc7wym9aMivoGtYzVjiSRD7Um3LLrFkHI6tTp4JyCGdHcu6Lf 6MIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toke.dk header.s=20161023 header.b=ni9bjdb2; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hz1-20020a1709072ce100b0073dced7204bsi3134239ejc.767.2022.10.07.10.31.49; Fri, 07 Oct 2022 10:32:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@toke.dk header.s=20161023 header.b=ni9bjdb2; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229712AbiJGR2h (ORCPT + 61 others); Fri, 7 Oct 2022 13:28:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbiJGR2f (ORCPT ); Fri, 7 Oct 2022 13:28:35 -0400 Received: from mail.toke.dk (mail.toke.dk [IPv6:2a0c:4d80:42:2001::664]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4B5ECA89B; Fri, 7 Oct 2022 10:28:31 -0700 (PDT) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1665163709; bh=yWWstJ0SxaiWCJ8yChG5yXzzTd8E+OEk2k17cMD7mTk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ni9bjdb2lOBzjWg5bkIRVl0/gKyrMjH8L5J3acubVv3okw75RWwz9hnqYNlgTgXEv Suorg0BCQFLYRWDSKyDVR5SRmXmgt/nsxbMPgoQyVaf7ARP5NW/G+ofmX05XSNg2OC HDoflgzMRWYFSAeluVH3Qnxz7jBrRKS4Yi2cTOTTCSKxuSmzZYFK4XwzyZeU7RCYV/ NE7cIpy/EmprBughiCigylajlUPVUsI0BxpWC4/7YMrO2rZXCudeFJpRRo09GV5sPM GcyUPj9jVE8pugnlpteHKWz3n62wC9l296uTZFBOhmXwcvzlJ1euQ9sC2CaoZfkciq j30VVJOaEbKZQ== To: Kees Cook Cc: Kees Cook , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Subject: Re: [PATCH] ath9k: Remove -Warray-bounds exception In-Reply-To: <20221006192054.1742982-1-keescook@chromium.org> References: <20221006192054.1742982-1-keescook@chromium.org> Date: Fri, 07 Oct 2022 19:28:29 +0200 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87r0zjczlu.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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-wireless@vger.kernel.org Kees Cook writes: > GCC-12 emits false positive -Warray-bounds warnings with > CONFIG_UBSAN_SHIFT (-fsanitize=3Dshift). This is fixed in GCC 13[1], > and there is top-level Makefile logic to remove -Warray-bounds for > known-bad GCC versions staring with commit f0be87c42cbd ("gcc-12: disable > '-Warray-bounds' universally for now"). > > Remove the local work-around. > > [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105679 > > Signed-off-by: Kees Cook Acked-by: Toke H=C3=B8iland-J=C3=B8rgensen