Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp440949yba; Fri, 5 Apr 2019 09:36:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqxYtALw/GA+9OHWZHNy12kqaFXnPEN7VGWxKhflhG/kP3t1bc2aylWtv7+rkepGRKmBy+YV X-Received: by 2002:a62:484:: with SMTP id 126mr13203704pfe.91.1554482218872; Fri, 05 Apr 2019 09:36:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554482218; cv=none; d=google.com; s=arc-20160816; b=DGWbG2/AM/t5AeMvmxWVpUxMpo8Bp3JRk+EmmYjrmFmPGyUqKmlqcP42yBtB485ES9 o01zPJi9Qp8cJaESHipMOsQQvy535HwZpwWJDsVWP7RRppl1xkWPTNwGOy04mFaSen6A gDcZsws0cpQwt1a0yVOxomstUZJt/SPMURXXXwXvX7YV04Wk9Xrd+SIze/druSkKBOq8 Wnv++nSSfljKg/ETnFY8CsJ/XvQNySRMxDNhXZRT4yvzxV6PdSUv35yqT2Nn7nDhcBJj wQrXaBmak1exhRI84Hrg9lrN1IEgPMJIdhZCqVTDJl3VuAX1dbB7b9G2g4ymLxeDzcht MZbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=FkS1KTlm1bIQrU+zfo/QTBDa+w1oT2/QASz9Xfd2hkw=; b=lNKJwuBD0RLyquP46MVZhWDrGmHVp7T5+QYN3q0Vl1QfffFoId8iHgzUWjcacDTOtO sFW0OzerqkUT5ehoxRJEhRdjZx4w72p50yq9pkXaCruZhnynA1IZncGMJOM8tSuE3Ggd HbeheGW9oMUk5j7+90Rr7hJKGiFW4O2hYM/8PWp4bEpRL000nBmDLd3+nd37rx4xevPP rvGXpiuZycov5vkhTtsfBJxabLHVc+CUTq2Om+YHBAgb6djADVA0+/+9e6+5N9103hDx i3xNDXI1aMK16kVyb7mCL2xKxVmTZiB2LitH+BbPP/O8NH8l6rR1YQrfCmTGBqyaq97q ZF8A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g34si19322563pld.115.2019.04.05.09.36.43; Fri, 05 Apr 2019 09:36:58 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731487AbfDEQgB (ORCPT + 99 others); Fri, 5 Apr 2019 12:36:01 -0400 Received: from wp260.webpack.hosteurope.de ([80.237.133.29]:37968 "EHLO wp260.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729269AbfDEQgB (ORCPT ); Fri, 5 Apr 2019 12:36:01 -0400 Received: from hsi-kbw-46-223-87-231.hsi.kabel-badenwuerttemberg.de ([46.223.87.231] helo=vega.skynet.aixah.de); authenticated by wp260.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1hCRos-0001pS-Uz; Fri, 05 Apr 2019 18:35:58 +0200 Received: by vega.skynet.aixah.de (Postfix, from userid 1005) id 8E12CE5352; Fri, 5 Apr 2019 18:35:58 +0200 (CEST) Date: Fri, 5 Apr 2019 18:35:58 +0200 From: 'Luis Ressel' To: David Laight Cc: Josh Poimboeuf , Peter Zijlstra , open list , "stable@vger.kernel.org" Subject: Re: [PATCH] objtool: Don't use -Werror Message-ID: <20190405163558.uzabp4nm4afjf3ad@vega.skynet.aixah.de> References: <20190405110151.2461-1-aranea@aixah.de> <20190405123909.tupbgueie4czg2dd@treble> <20190405142443.rgpwbgyym76xizad@vega.skynet.aixah.de> <20190405143926.wmrkjsazlheeg6qs@treble> <20190405160550.62arkmvj67zm6oc2@vega.skynet.aixah.de> <20190405162627.h3fadip7psc77zdf@vega.skynet.aixah.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190405162627.h3fadip7psc77zdf@vega.skynet.aixah.de> User-Agent: NeoMutt/20180716 X-bounce-key: webpack.hosteurope.de;aranea@aixah.de;1554482160;841fd0b6; X-HE-SMSGID: 1hCRos-0001pS-Uz Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 05, 2019 at 06:26:27PM +0200, 'Luis Ressel' wrote: > On Fri, Apr 05, 2019 at 04:16:14PM +0000, David Laight wrote: > > > In which case you should be looking at a way of removing -Wundef > > not removing -Werror. > > No, my whole point is that this blacklisting approach doesn't work > outside a controlled dev environment, because different > compilers/compiler versions produce wildy different warnings. Besides, warnings about purely stylistic issues shouldn't break compilation for end users, even though you probably want to see them as a dev, so disabling these warning categories completely doesn't work particularily well. Regards, Luis