Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1689004rwi; Mon, 10 Oct 2022 21:42:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6AyKr9zV9SozKeSCCO+jHnsoYoljgLmiMXsI4RFG8HqZAZh4lS8JdDp4q4cRe4wjV2KMiL X-Received: by 2002:a63:5702:0:b0:44b:290:f24f with SMTP id l2-20020a635702000000b0044b0290f24fmr19569335pgb.558.1665463376969; Mon, 10 Oct 2022 21:42:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665463376; cv=none; d=google.com; s=arc-20160816; b=xBaBnNcDikeMqBgp2EeJWzA6/PFqIIzBsJ/yEfx7JGx9Z/17jFZcHmDWnXXLCH1gNJ QDLqV6ExluU4RpNkzmcSUKlgXBKdnS8xbVsns1j74c7/3QGsv68PJ32FGwJtMAt7aNHj oIiRi6XrzO67aI61jtW6BNcwvI7G9ejoJi8naN3d4VmPacPoW81hK2KnMOXsXBe+1wnH 0tp7P5LJb+0l39M//OAiYR5vPjzRsgvt17N/E6jnZ3CAytLcfp0BwvRgNNLYck4Ainmv CH7INP5ArOraNw8lD9MhuZREyh65NZWOOi8fgx/hlvnPqwwRBGECb5zjTGILRBlW9YmW a5lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=CtweRmVMdeQph8knea1UeFnNRjgFJKZfsjrvrqxCx2g=; b=lS6RvEIB8zYhLijTzwHtU8YahKEcYodOq8zIVNhxeUgKhXXeWzjfdxuz6r4vy78BUD FfweAQtLQWGMiuhVJ012n1ixfDlGEMGnLlvecrh2z8wANbfhmLttNkQRdplMYdK3gwrX H7IPphSPrUGvvO7kpFzs0JCHopUNbtI83YCQMR0M+++yZvGM00NsrqQN2n5Kqdvbhrjq +My+qxuP960gWbR9wBlp49liyh+s0kx4yLz267oSbkjnNsQYS1pZLoAHDTWRYvKD6Zlo Qat9gfzusIW6v3K6v5dXni+2Jh+IODDU3Nql67+gkKez0LAtZ4KL39XwYaPzZXyx8e4I svRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BTkKEh7v; 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=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 189-20020a6309c6000000b00460bd9a64c1si9625581pgj.637.2022.10.10.21.42.48; Mon, 10 Oct 2022 21:42:56 -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=@kernel.org header.s=k20201202 header.b=BTkKEh7v; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229605AbiJKEjZ (ORCPT + 61 others); Tue, 11 Oct 2022 00:39:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbiJKEjX (ORCPT ); Tue, 11 Oct 2022 00:39:23 -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 40F9486836; Mon, 10 Oct 2022 21:39:23 -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 0AFACB810CC; Tue, 11 Oct 2022 04:39:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AAE2FC433C1; Tue, 11 Oct 2022 04:39:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665463160; bh=MF6sPs/ojJLHcDz9LKEHAOwV2EjPI7ajblySZvBQSqU=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=BTkKEh7vCIHIcwrEIVzEVCoMhuXc2ZpptturYvLqVbyaGMbclL4k0ZTYhSU/1R8/j /uCu8FGkIHV3UXam8bvCXwmV8XmWzW+4rym65HzTRj/dzP4UzgWYxKA7FeuA6519wP 4/L3V4W9do+d/QDfVitKESL1f/R3/idivYmiu4sLOgnogZcISk9STYYd2S3H1JG00X JWl5hgwEfTqirtwLxw1u0v5O5QvhkOlMZJ66uA1MOjClagDwY2z5ktx6j/P+7fbOUd YpzxpTxha7uU/7dvDLV8LSsDF8kP1uDtGMr1/gbYPJCf/RBcfxM+WqATBuYDSbTl/S dLWfCB56iTUwQ== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] ath9k: Remove -Warray-bounds exception From: Kalle Valo In-Reply-To: <20221006192054.1742982-1-keescook@chromium.org> References: <20221006192054.1742982-1-keescook@chromium.org> To: Kees Cook Cc: =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rgensen?= , Kees Cook , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <166546315646.5539.15810810835446858969.kvalo@kernel.org> Date: Tue, 11 Oct 2022 04:39:18 +0000 (UTC) X-Spam-Status: No, score=-7.1 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-wireless@vger.kernel.org Kees Cook wrote: > GCC-12 emits false positive -Warray-bounds warnings with > CONFIG_UBSAN_SHIFT (-fsanitize=shift). 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=105679 > > Signed-off-by: Kees Cook > Acked-by: Toke Høiland-Jørgensen > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. d174768932a8 wifi: ath9k: Remove -Warray-bounds exception -- https://patchwork.kernel.org/project/linux-wireless/patch/20221006192054.1742982-1-keescook@chromium.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches