Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3765739pxf; Mon, 22 Mar 2021 14:41:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwylfReVqrExUt65mSyOHA+1/exmk+HQcLap+o2QUMkt1KqszW+tpIkxx7u5RWkORC91syU X-Received: by 2002:a17:906:f247:: with SMTP id gy7mr1758261ejb.183.1616449280489; Mon, 22 Mar 2021 14:41:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616449280; cv=none; d=google.com; s=arc-20160816; b=BXiw7HzMXIR/yiiq3C13R7ALxSkOuirS6e8x9TgdWTN+GQPA7PSylpYA3a+fFy6+0e Zrth3NE69eBNhGNOmIGLDA5WkulcOicQUyFwiP8gisNHhglzJv6SHkW7Prqb06FI4Av0 RO5zQaZL6QhmSaX5Tj8DsUH0Ue4K3uC5q+gK918P38fSFksbFGyj+l/j1Ai8STwu9jNo 0p/Q9BVG+Q32u708OrOJrgeE6Ze0Y3W9ZURBeZArzAx0ENjvcKlfium1pymQrdxe9oTj 6EXDi/cUcbfKD3mO1OHRNSVFM6WAr1dfizM7P5YlZdZ5W5+VSSIDRuNsevMmms8Kmruv qsFA== 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=cXdzYG2dCAlY6mNcVnwOrAYYPYzg76PdvTdXLMgqQgc=; b=XJhf2FXm4EST3vtHVnBLakpv53bFuy4z5vA1t/vq2QvsabnKjH9bGE/wAhEXlZoxnV gnJt2AmcwXGyReZsv3eE8Vpvve0pYvOv0n/oZ999E6jO9buJdvNy5nssFQmXhsnqDi70 D87mEYeMjNCwfvQXGkmeLsI3gVMXwuIGQskqF3PmncSQfrU4FVcmwl34ARCHTi9MTmoK znIx46mG6AihMg8RBaFRbqrugI9hbGYkfEbdfgz7tJvoHmvt9pLiFhOwx6P0IhVpPGcx l0Kh9Ho6AcNa10tiqdiD9CryWaMhNx/Jm2rnFAZOLmBt0biH261fyqnVP/Uz4ecSdNwT hdqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bJZCpZ5E; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i9si12277544edx.595.2021.03.22.14.40.54; Mon, 22 Mar 2021 14:41:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bJZCpZ5E; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 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 S229868AbhCVVkV (ORCPT + 99 others); Mon, 22 Mar 2021 17:40:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:59434 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229639AbhCVVkE (ORCPT ); Mon, 22 Mar 2021 17:40:04 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 28117619A9; Mon, 22 Mar 2021 21:40:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1616449204; bh=ZjEe7Re0RKu002ndI22T8BlfDJ+aY+HHY+t9XvQS7Q8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=bJZCpZ5EEGZerp3UrSyvokIM6nH3GPNLIsyJMJB5nyc4Sgnjtzn+OMtjUL2ZBSie+ Fi83eey5HsMSKc/9qaD2RuZEeUeUwoE2M6qwk7wrSCjkj4ws8OGv18z8EyYcukmWHT jM35+ir6/srZfSH78DCRwpRXtTCanNR0ouNRk+r0zZqC9uicwbh5Vl6qVN2J0nC7fg yAR8A/u0nDcj41ohiNdL688eDQ2opEHdctaDOmgytVvpFgfvzBz92vFYBp5Nn21+zL vtNIUbcaOAFjelvCYqZ6uXvufN0DecSq4tETddYi+zxgAsQXGrS7YO4xRruhTqWyYj CraMDT8xmXxbw== Received: by mail-ot1-f44.google.com with SMTP id g8-20020a9d6c480000b02901b65ca2432cso17476595otq.3; Mon, 22 Mar 2021 14:40:04 -0700 (PDT) X-Gm-Message-State: AOAM533FUOhFfO7wq9f+GsWOzKkBqFJJDy1x14lvq359GYXwWaCk6hUk iGNe8yk9vCXFksLX6c2bH7EqB0oZSmM8DFSdmWI= X-Received: by 2002:a9d:316:: with SMTP id 22mr1561463otv.210.1616449203436; Mon, 22 Mar 2021 14:40:03 -0700 (PDT) MIME-Version: 1.0 References: <20210322160253.4032422-1-arnd@kernel.org> <20210322160253.4032422-3-arnd@kernel.org> <20210322202958.GA1955909@gmail.com> In-Reply-To: <20210322202958.GA1955909@gmail.com> From: Arnd Bergmann Date: Mon, 22 Mar 2021 22:39:47 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 02/11] x86: tboot: avoid Wstringop-overread-warning To: Ingo Molnar Cc: Linux Kernel Mailing List , Martin Sebor , Ning Sun , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "the arch/x86 maintainers" , Jani Nikula , Kalle Valo , Simon Kelley , James Smart , "James E.J. Bottomley" , Anders Larsen , Tejun Heo , Serge Hallyn , Imre Deak , Linux ARM , tboot-devel@lists.sourceforge.net, Intel Graphics , dri-devel , ath11k@lists.infradead.org, linux-wireless , Networking , linux-scsi , Cgroups , LSM List , "H. Peter Anvin" , Andrew Morton , Lu Baolu , Will Deacon Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, Mar 22, 2021 at 9:29 PM Ingo Molnar wrote: > * Arnd Bergmann wrote: > > From: Arnd Bergmann > This is indeed rather ugly - and the other patch that removes a debug > check seems counterproductive as well. > > Do we know how many genuine bugs -Wstringop-overread-warning has > caught or is about to catch? > > I.e. the real workaround might be to turn off the -Wstringop-overread-warning, > until GCC-11 gets fixed? See the [PATCH 0/11] message. The last two patches in the series are for code that I suspect may be broken, the others are basically all false positives. As gcc-11 is not released yet, I don't think we have to apply any of the patches or disable the warning at the moment, but I posted all the patches to get a better understanding on which of them should be addressed in the kernel vs gcc. Arnd