Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3326332rwi; Tue, 11 Oct 2022 23:41:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5wC7z7R2E2/Y1FDUXnv/lWMqZ5VGKRfV/jKj3PbiagODvrqxD1D4c0EHsxQof8+PtI2Q7l X-Received: by 2002:a62:5202:0:b0:562:d28e:f715 with SMTP id g2-20020a625202000000b00562d28ef715mr25556624pfb.26.1665556884374; Tue, 11 Oct 2022 23:41:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665556884; cv=none; d=google.com; s=arc-20160816; b=fBmOnrOIWDGQ4q6/PXmW0I6Gez0JdIdkMJOtB49CLp1ILAaJJ/gx684XdszoM3oNTB LrexxLnZG802JJE0CwgNQnJ8tH/4iWTgUSkAiAAkYWGabUrQCzw9FXSVlJW6B9v7/Hed bReDRq/cyPuZ+MV64yVLosBgtPxEudr/P7Tj7Mg5IHk1iqXa62EP7BUGXCxuBDvtixbL 3f2cfPhfrVCJHhugXGXf5utYLrZT6p7AnSwDk95B2Ue9Nvhh1Z2praRLN/V2K4ks8YD5 i+gnl2LnKMzdLKnQrHaBF/NtmKkmFA0JONjLgv3KQwMN+k/Y0nsi5uooZQfvJbsE3Kfg ES1w== 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=TJ//Fshn9QEYGq7FT1uswlLox2wB96HrCZk2uORybl8=; b=XLXvZziSqcMjoCy7NQerUDifKlA9LOhAs5kr5j1/kVd1Ob2cdzhzlzwjO/CcaSXF5s C2k//LP2JCPjyX1Dsox67T76szBpA/guYrojyps2/Pr2cKvZy1Px6n0jWd/ayPGvJ86P 2vVb0ka3qo/qLaLt4ADdfBVCn77ecKLPBjzXAv3zl9IfKIjY6ER8oKEoeR3Q+/uK/wme z5Wvw4Xnyj131z8L9Ttj3GQIe52FUjY1d0iwb73+gew5i8So543tF9MsrZd+ynhuxp4e TyCJ5t/4DWNZrdUQmi3NE3/tNb9lSyRquAAvXePrpJcf1927FHmRXDwJ8PNUw4bSHIJl jT4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JJUhNO4P; 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 p17-20020a170902c71100b0017efb29594esi16192223plp.181.2022.10.11.23.41.13; Tue, 11 Oct 2022 23:41:24 -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=JJUhNO4P; 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 S229754AbiJLGhM (ORCPT + 61 others); Wed, 12 Oct 2022 02:37:12 -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) 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: 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