Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp715656iol; Thu, 9 Jun 2022 12:20:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGOZ+v73WDl5FRTeJ1z97aUMAtUyLXVPjYfqO0+4oAPMopVpgRxrozWMCUNb3eN3GgTAA+ X-Received: by 2002:a05:6a00:24c1:b0:518:c52f:f5 with SMTP id d1-20020a056a0024c100b00518c52f00f5mr42054995pfv.15.1654802457285; Thu, 09 Jun 2022 12:20:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654802457; cv=none; d=google.com; s=arc-20160816; b=inqMAG1947ewBhVuNwNhhwD18ZqF2D0RRXQbhEGNy8bSsK2G0mccDDRqClnR0egWdk hq6lBm1ztr9RBbwwWIc7sLR3U3Kndm1n29uPdH9ovGfTkjj/Sc+FVMUJuipHp/54wNFH mrAXSPsUnlQWSdNcE44hnoajW1JQwSRLXRWv0GF4AXHD4QE/J3IRQSfR0Z0VrhrGBOdW IUqykUJ5xcKAsf8TI+R3Na2DslLvGrmdjPU9SXNQx7IJJTRXASf4WV/hD9peNBJffcir /vVbtdLvO2UJ0btCez+zFK0Gy0v9hpAAtbN+191wihsR3RiW2pzJkFaBC0VFW2YZFfb9 xSCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=OA225JVCydt2ZrDiYNVLzEh8X39ntnv0/k7cvIBZg+8=; b=YF+xCc/jxVLojhcr/iMXuEAWfwfuqWVHDCjznQff+64aj6pMAdE8r1j1/5M0+C7RLS zocnS/kf+ZB+3VDA56mShpYF3aHypKa5V0WQODHghJo7+LlgJJHVdaJQF+d1dTrsbrTJ Qtu8Zrr6P9NANi2vrYC4rdD5loGtc0PRH6jnfJtTeVRuVNv9SxGriRAqcjhd1GVuUaJ/ 8B89fHYwl3jNSG2n51HRYhKPie4hRXRZD6T+JLunKXAHk8XkFnNAUvsXCDmdXtFNRrXh ioV6V7eHSB5fAr4/WOC6n0pMlh5vmASuradqZ8JIrenLFxHAoIiy5zPYfCwMksW+XO/0 XrNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=PFJuXK8j; 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 l15-20020a170903120f00b00161c545c5c3si41577925plh.601.2022.06.09.12.20.45; Thu, 09 Jun 2022 12:20:57 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=PFJuXK8j; 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 S234079AbiFISv5 (ORCPT + 99 others); Thu, 9 Jun 2022 14:51:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345528AbiFISvw (ORCPT ); Thu, 9 Jun 2022 14:51:52 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FD512C2794 for ; Thu, 9 Jun 2022 11:51:49 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id n10so49267194ejk.5 for ; Thu, 09 Jun 2022 11:51:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OA225JVCydt2ZrDiYNVLzEh8X39ntnv0/k7cvIBZg+8=; b=PFJuXK8jPvFzm5TAoqZf60kcVI64fTn9UDyRMlKCS8pPHUGyiyaAMwGdl4r393SBzg vepF6GRLqCJL9gQpjvnKxUH3uJhe+mPF7dDAKwsrtZcYRxcSfF4//I1E3TveVol7a7G+ COs+qKfwhyFLcsgaQR/NaAMgapzX+cdUxVcM8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OA225JVCydt2ZrDiYNVLzEh8X39ntnv0/k7cvIBZg+8=; b=K9RViEJ1h/OADvdL2YXbdEaQfrbhMsbEqEstUeIjrx/OgRJ/VZdxzrUcRzyNJkjjgw I4zN6Uszj/wL6+ntCW6SaqdsHOw19BjeQ/08ZNvMWMBZzpMqjJnyNbIlMVJZIib5rHhD LtnWRpMufMFjSFyooZ75eL1LkY/UNadKmpcLi6QdLXZ8gibTpJJzy4ARCHfNnqlGssIR iGGKTdG0oD7H6akqH4nCMXzT3pEmz7QBRcDuFJN69Mki1nDGe14IE1LqvXt2G7mElwUA yGNWsmFc2GR5xJdsLdPyUko4wRydrnjkTauq+1NE+Nlz0Mms1Y3S2RItvOu3rMtkuZH+ du0g== X-Gm-Message-State: AOAM532rg9Vv+xhCu+o19lTfKpqU5nrfgjHZk1N5N2uxtTpB/tHZaM7e UvhIICFcEVPHJh2NtrgK/GYtafzSnwh5qx19 X-Received: by 2002:a17:907:761c:b0:6d6:e553:7bd1 with SMTP id jx28-20020a170907761c00b006d6e5537bd1mr36713068ejc.5.1654800707745; Thu, 09 Jun 2022 11:51:47 -0700 (PDT) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com. [209.85.128.43]) by smtp.gmail.com with ESMTPSA id w20-20020a170906d21400b006fe8bf56f53sm11054657ejz.43.2022.06.09.11.51.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jun 2022 11:51:47 -0700 (PDT) Received: by mail-wm1-f43.google.com with SMTP id j5-20020a05600c1c0500b0039c5dbbfa48so32518wms.5 for ; Thu, 09 Jun 2022 11:51:46 -0700 (PDT) X-Received: by 2002:a05:600c:42c6:b0:39c:4bfd:a4a9 with SMTP id j6-20020a05600c42c600b0039c4bfda4a9mr4798635wme.8.1654800706005; Thu, 09 Jun 2022 11:51:46 -0700 (PDT) MIME-Version: 1.0 References: <20220422134308.1613610-1-svens@linux.ibm.com> <202204221052.85D0C427@keescook> <202206081404.F98F5FC53E@keescook> In-Reply-To: From: Linus Torvalds Date: Thu, 9 Jun 2022 11:51:29 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] s390: disable -Warray-bounds To: Nathan Chancellor Cc: Kees Cook , Philipp Zabel , Shawn Guo , Sascha Hauer , Fabio Estevam , David Howells , Sven Schnelle , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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 On Thu, Jun 9, 2022 at 7:55 AM Nathan Chancellor wrote: > > I think this should be $(CONFIG_CC_NO_ARRAY_BOUNDS)? Thanks, fixed. Anyway, in order to deal with the (few - the rc2 week does tend to be small) pull requests I have pending, I have basically worked around all the new warnings I see. Some of the workarounds are the proper fixes, but mostly it's a pretty harsh "just shut that warning up". That includes for things that have proper fixes pending (ie the netfs issue), where I just did a pretty ugly but very localized #pragma GCC diagnostic ignored "-Wattribute-warning" in the affected files. End result: I have a clean 'allmodconfig' build again, and hopefully most of these workarounds can either be tightened up or removed entirely at some point. It's this in my tree now: 507160f46c55 ("netfs: gcc-12: temporarily disable '-Wattribute-warning' for now") f0be87c42cbd ("gcc-12: disable '-Warray-bounds' universally for now") 842c3b3ddc5f ("mellanox: mlx5: avoid uninitialized variable warning with gcc-12") 49beadbd47c2 ("gcc-12: disable '-Wdangling-pointer' warning for now") 7aefd8b53815 ("drm: imx: fix compiler warning with gcc-12") 6bfb56e93bce ("cert host tools: Stop complaining about deprecated OpenSSL functions") in case people care. Linus