Received: by 10.213.65.68 with SMTP id h4csp427707imn; Tue, 13 Mar 2018 08:44:27 -0700 (PDT) X-Google-Smtp-Source: AG47ELvABhTrjzsd0LuQZmr3lqbCbz5jdeGev/hos89T98N6fuNs4C9Fjwi4q/iETEB85qayuG6q X-Received: by 10.99.171.10 with SMTP id p10mr858803pgf.176.1520955867139; Tue, 13 Mar 2018 08:44:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520955867; cv=none; d=google.com; s=arc-20160816; b=fI0IHNFuZV+hSxsa5dYiHnGZF8Z/pl08pikLb+D8MaCt5CM7RzsOvj2qXu/V4BsPVY 1uiXHr5fs3h9AhQKXrhiKfHI3YaCmi+cf4g6Z1shYndawFEUBwSSk3ixAp/B2RmllrAr e1xJkNjgjSK1y/Cq9AX58NoYVRS+5jUARj17ZqQX3JbZR8og77rfpUq3lhjPiDXJt9jM KIxpPylhoIHtj1EOV/Y4KHXumfvM+rsL+rRo3800gJikdcX4lEvfXYU/JuNxwn1Bd/o+ lm03PEVQ5gOEN+gLgUk4+ocACkJkc4HNIJYCuheMEhUVyO5tpzmEdCmN86VJFyX30ckN H66g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:arc-authentication-results; bh=BVldaviVHhVnx5VeI980KRW01vbMgdZPBeElPEnSibc=; b=WkFuSFUS/ImVHnnKfZoZJ7kajX16j1SIxjlCNc5U5znVgbWHLnRBG+mYKTP1AoEMQb HJTjxweTLjmI+kuffFzGGTZvgJSLOZyLS0zLAPE9eblv0CkUSCtXpUHcbLY0GpcFKLM5 CTThGn8NDRyyJhpW0cs8xua4qFXJ/ETCwMfYdKr1tA+blf72QV/acCos2dGerdOGwD0v o225gU1eYLPO5dAR79wofFzMj+oNHxFK+4WkBlcRVb6O4Og1RArAu/YpiDuY+BDj14Wa 0AD+IF7rZ8ukB+3ELUBpe9XJdVODM0Sd/i00YL8kotfWf4tvvMzQjPKODbirqV+3i9R/ 6BUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CamNvBCd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k7si264911pgo.509.2018.03.13.08.44.12; Tue, 13 Mar 2018 08:44:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CamNvBCd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934959AbeCMPlS (ORCPT + 99 others); Tue, 13 Mar 2018 11:41:18 -0400 Received: from mail-oi0-f49.google.com ([209.85.218.49]:46004 "EHLO mail-oi0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932400AbeCMPlP (ORCPT ); Tue, 13 Mar 2018 11:41:15 -0400 Received: by mail-oi0-f49.google.com with SMTP id j79so14117oib.12 for ; Tue, 13 Mar 2018 08:41:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=BVldaviVHhVnx5VeI980KRW01vbMgdZPBeElPEnSibc=; b=CamNvBCdQ8/SbYM0C34rMvQILNENj9kIiyjniLUGiecvN7EFswNHn7jYhQW+gOGDb6 jsl/l2b1jWAsI0276VYdTSYAGv1PkBZSU8r1p3aMK0tam/qF6XZ7tBFbG04PcMmDPXZx g5hc88p7uI/EHUtfxcZuniM85F2J9N5YFmjRqfEdwvW7olBJcoVNSam1MFzV6r2qFjPQ QMlCK4WYjKrOPkX0ZwcyxKl60lMw61D2UQQTGNLFAeIlURN0HPdjgG+pjjfrSU1zUWYV bwm6+AJLgxG9Lyd12TAjUI5GkPWIRVAoeXzfN1hsvbf9/4yGttnsGGNWayUNzTa5GEo9 5/hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=BVldaviVHhVnx5VeI980KRW01vbMgdZPBeElPEnSibc=; b=kfXtzRzHgN/nBZi8UqdE4y4SAwIG4Oe9VmVjr4xgTYchVwdRrZmdm70oyvjFsAydId 0a7u+cC7xtlLBKKn5LF0/3Ez4IQEy+5/aL1HFZM5PHudThivOVInQi8p3AgJELjuvcYi a+G02mJ+4Tu+bwRnVZoXsMOjNAh+aaJqfye6IIG1OLgHWbdiB20J5TgUGvFyykiU/ZEc 8t0KFDSt9L0C9zEGDiV/6ilD8y4A37e7Gjjt1/RYmL4DHmHSjIfAc9cLMr9eZgQ/KCRh e1g/zG23khLrS6e+wPQUk6yze+0XqaoMVjrezWQkZPDCMOqJNJZTd9Hegx3RQSK4R09A MlFw== X-Gm-Message-State: AElRT7Hoz6/pJ4DOPeIhMDdYH1sdvHOvnutkE0S22gJMfL9opLZ84qMk c8GVLK0D6dN0TyuSUXHkpcQ= X-Received: by 10.202.45.3 with SMTP id t3mr751314oit.22.1520955674808; Tue, 13 Mar 2018 08:41:14 -0700 (PDT) Received: from localhost.localdomain (71-218-18-146.hlrn.qwest.net. [71.218.18.146]) by smtp.gmail.com with ESMTPSA id m62sm241165oig.6.2018.03.13.08.41.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Mar 2018 08:41:13 -0700 (PDT) Subject: Re: [PATCH] Support the nonstring variable attribute (gcc >= 8) To: Miguel Ojeda References: <20180217191035.gol4woxsgzpo4bfq@gmail.com> Cc: Arnd Bergmann , David Rientjes , Ingo Molnar , Josh Poimboeuf , Kees Cook , Andrew Morton , Thomas Gleixner , Geert Uytterhoeven , Greg KH , "Lendacky, Thomas" , Will Deacon , linux-kernel , Willy Tarreau , Xiongfeng Wang From: Martin Sebor Message-ID: Date: Tue, 13 Mar 2018 09:41:11 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>> Martin Sebor also asked me about this, he's the one that worked on >>>> the gcc code that introduced the warning. Sorry for not replying earlier. >>>> >>> >>> Maybe you can pass this to him? (maybe open a bug in gcc's bugzilla?) >> >> >> I've opened bug 84725 to extend attribute nonstring to the other >> two character types: >> >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84725 >> > > Thanks Martin! Please let us know whenever it is in the gcc trunk. No problem. The patch has been committed into the trunk of GCC 8. Let me know if there's something else. It may be too late to make any more changes like this before GCC 8.1 is released but further refinements to suppress false positives can be made in GCC 8.2. Martin