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 037B3C43217 for ; Wed, 12 Oct 2022 06:37:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229761AbiJLGhN (ORCPT ); Wed, 12 Oct 2022 02:37:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229745AbiJLGhJ (ORCPT ); Wed, 12 Oct 2022 02:37:09 -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 EF9FFB03C0; Tue, 11 Oct 2022 23:37:06 -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 39127B81964; Wed, 12 Oct 2022 06:37:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2B22C433D7; Wed, 12 Oct 2022 06:37:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665556624; bh=VpYQlndqycx0FJh72D35XMdOGmJBs1MOcPOJvcY/kAA=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=JJUhNO4PN6dpLW2afeHD0HeOfZK/QIh8XQ6pcAaItqvVRdjdBr4b3vxqAG+XCengq VERekJdkwMICbF1PcwVjrmnRpwqleb1sWEzGtiro0eyUyAfwtaOBgjpmDdlhfuXyyj v/K7KI7aIx7X2Ymh6caJIpU6zyfdC2t7A8dQ1HErbJoQoMMBQNdlkADwtZHG/WPYAG Mgh3cUww5DNf3L6QoJIhCQdc67cj5an/+1LoHqSyUn6KYFL1MEbXQteWhPxgOqYluB 6Qzovf0N6aisxt06WkzVNCSkCa43/xw/Lnxs0TWewsz6hHo8BYy6cOOFUURSkh+ztp wuEoz3sUN5pQw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: carl9170: Remove -Warray-bounds exception From: Kalle Valo In-Reply-To: <20221006192051.1742930-1-keescook@chromium.org> References: <20221006192051.1742930-1-keescook@chromium.org> To: Kees Cook Cc: Christian Lamparter , 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: <166555661512.24262.8970482659659186700.kvalo@kernel.org> Date: Wed, 12 Oct 2022 06:37:01 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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: Christian Lamparter > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 2577a58df244 wifi: carl9170: Remove -Warray-bounds exception -- https://patchwork.kernel.org/project/linux-wireless/patch/20221006192051.1742930-1-keescook@chromium.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches