Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp603137rwb; Fri, 7 Oct 2022 01:20:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4veiJCjtFGSSMgwD0Xr74EY+u9p607Sgcdk/BJZP0rSidjAxExIxb08vAmg7bREmIBDUBt X-Received: by 2002:a17:907:2723:b0:789:ae01:6fbd with SMTP id d3-20020a170907272300b00789ae016fbdmr3152179ejl.731.1665130801841; Fri, 07 Oct 2022 01:20:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665130801; cv=none; d=google.com; s=arc-20160816; b=d4nsp06X+WHR9r09F5DRsy7F27M1DYlqNPECknq2e9oe1jJ8gVK2JwsP1e6K9UPnan Ph4Y/5AOTGESbtU1MJDgSy6PwRGcV6ABSSw//UHgkniNGF7XQ8+259QbfH3aq6anahOL RrQVEj+xXRxk2LGbXf82rvBn3NJlCbGcaDIfRz1dNYa1rYffVlyS5pn0XR20opqPNvxz N7p459I5ni/0mEGNvR+bX/ndIfYtfF41DQyPpBukf30rGhmMgExCmTMETS3GXlvI64gd 94z9eJXmYaXZLT3o/uBqYNncU1NcRhFU+8Sjn10GpmQTYtzDFd/WilnI4i7ZtGbZGHrK Ondg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=NrOF/y3pLLbIZ/Qt+MFFc4o/IunWJlMhep3wcD9VkK8=; b=Xbs8C0D8kXhPHfHOTlNcpw2ldKg4XyZHdH5HMD16Lz0XCRMr7Ei5YNmF69LbI8VMQs lRXeYRtCFvvT5XuQSnn9qVPO4QK44BYy48QLftQXrDoqh5hHqGkJBU9w0DBz/0POnafp RdjOOxzKCxr/qcaQ60qdwkDur7TRkINe8AYCoXMmhr2q9ym3inushzsywyrtB1kvbKwJ bJ1P/0KAoK7R/B99DtJX+TUuweGcNpcKBIriVKkAaUFX51J4UwKWNKgQoau1WvEpscpe ju7SxoM5yifpVsiYfLFFu3tvejAydbkASGmoUl9HZRjTDHUFqEjjjOSDGdIxokBg5V6U pVhQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f11-20020a056402194b00b00458bdfd5393si1602508edz.507.2022.10.07.01.19.35; Fri, 07 Oct 2022 01:20:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229773AbiJGH5B (ORCPT + 99 others); Fri, 7 Oct 2022 03:57:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229605AbiJGH47 (ORCPT ); Fri, 7 Oct 2022 03:56:59 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D971FAA3F4 for ; Fri, 7 Oct 2022 00:56:58 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogiDy-0008DF-0P; Fri, 07 Oct 2022 09:56:50 +0200 Received: from pengutronix.de (unknown [IPv6:2a01:4f8:1c1c:29e9:22:41ff:fe00:1400]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 201DAF6BFB; Fri, 7 Oct 2022 07:56:48 +0000 (UTC) Date: Fri, 7 Oct 2022 09:56:47 +0200 From: Marc Kleine-Budde To: Kees Cook Cc: Wolfgang Grandegger , linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Subject: Re: [PATCH] can: kvaser_usb: Remove -Warray-bounds exception Message-ID: <20221007075647.3e2jm4g5qlytvqgo@pengutronix.de> References: <20221006192035.1742912-1-keescook@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mdrwwnddiarwtxpo" Content-Disposition: inline In-Reply-To: <20221006192035.1742912-1-keescook@chromium.org> X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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-kernel@vger.kernel.org --mdrwwnddiarwtxpo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 06.10.2022 12:20:35, Kees Cook wrote: > 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"). >=20 > Remove the local work-around. >=20 > [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105679 >=20 > Signed-off-by: Kees Cook Applied to linux-can-next/main. Thanks, Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --mdrwwnddiarwtxpo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEBsvAIBsPu6mG7thcrX5LkNig010FAmM/27wACgkQrX5LkNig 010vAQgAkL2nVGUp5uFl5m5LUQQDiBi5hflSPSP1u7B8UrI7yuPAwLF+mlzv80PO eS+yMvKoAC6tiFPHS0p7tmBdxiJBZ4u8/64qOh73cx1qizqk6g9MTT3i8eOk0oY6 bSgrhhwyYZAK67O7xueEJogtxKI41caGhX9KUvqEU/1qb7bNvZqUCGb9k4GtGSFA 6ctpE/WJ158TWcgKOM8T6gM8e42Nnjt8C8JCODNmotLNMYtqZRaqa/56ECQ+oSVh GbG+h7E0A2+hZc926FXqEfDPy3gJJxYvpKSPVvJxGchm5PCmbg0rytte6P0Mp7w3 9Un5ncNR6QnIXLGsNCG02X5lRz4B5A== =3Lk2 -----END PGP SIGNATURE----- --mdrwwnddiarwtxpo--