Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2054876rwe; Fri, 2 Sep 2022 07:55:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR5ThBQ7GAyTfvgnGKM4LSYQPv9l2Pp1L7R2tyVmi2ijQ+lV9V0LYDvfNM0lsPXm6uhQO94h X-Received: by 2002:a63:4f65:0:b0:42c:6044:83c1 with SMTP id p37-20020a634f65000000b0042c604483c1mr17925437pgl.560.1662130509472; Fri, 02 Sep 2022 07:55:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662130509; cv=none; d=google.com; s=arc-20160816; b=mizgWFuiIxMeyFzz86FAwcUsiL2TVW2OEERsla9EnY3KnAk70/DgKWpb/DT0fWQT2D Fvqgk5bX8BoJ77phUyrrN9TlDb1aB2HxCfSpohVqMYbDMx3TQJqrHyvUN/X//9iDAUoC sZCu8FVagRzOCpVGXn5hel4pWtX1i5GRd8+uophmNVS3dRIZdWkWtajomHv2dRrfEuDR RPv63ty8ii7IUyQAU2C/v+NlojOTlVQzfax7Wd3rd4SbyDMPRcpUq2eMmzIdrl8vAkwS M9bGvzwHmp9Qmhj+VrCdVfrDTKSL9jZ7WU4K0Xfo1nbsgnArn7sLpyk+mEvz6L7BiEg5 Xzeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=CCEjfFCPiBbbSg+O+zRpLhh43D72C+EY1yFKCSEMHIY=; b=qOfSzYWxeoHsS6UdrNSX6KVo7ZJRJeaq7leHRHEFOxLr8M9syjXUXflvdWmj6txcEP EUa/atcbRakkDLqEHb4QMC6GMfsBI3n9C+oKOLh9IEMOmnyt/Qv88o4LnRzR862Ltu9w zk1dyLSiLCldsKK8Xf5saf8dE+YgnoIAzEBOkg/l60InHojkrrGoZcPN0ZjcjoHa8WTa iZf1PHrri0Ww6CIPgSkdV5wMjew2Y1A0RjAb5YFKlIttexUmntn2ZK3yyruUjbCfAp1V RJlaCH83cULlblHX6Hjk8c/49VVCWgqKoylGi0C/cpDTykYRwqRHsTXmAKYK/wdHjgSg xHcg== 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 t21-20020a635355000000b0041c35254230si2015875pgl.452.2022.09.02.07.54.57; Fri, 02 Sep 2022 07:55:09 -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 S237013AbiIBOnb (ORCPT + 99 others); Fri, 2 Sep 2022 10:43:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236995AbiIBOnJ (ORCPT ); Fri, 2 Sep 2022 10:43:09 -0400 Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B7B77159A7C for ; Fri, 2 Sep 2022 07:04:14 -0700 (PDT) Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 282CeGbE005773; Fri, 2 Sep 2022 07:40:16 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 282CeEKR005772; Fri, 2 Sep 2022 07:40:14 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Fri, 2 Sep 2022 07:40:14 -0500 From: Segher Boessenkool To: Christophe Leroy Cc: Nathan Chancellor , Michael Ellerman , kernel test robot , Arnd Bergmann , Tom Rix , "llvm@lists.linux.dev" , Nick Desaulniers , "linux-kernel@vger.kernel.org" , Nicholas Piggin , "patches@lists.linux.dev" , "linuxppc-dev@lists.ozlabs.org" Subject: Re: [PATCH] powerpc/math_emu/efp: Include module.h Message-ID: <20220902124014.GM25951@gate.crashing.org> References: <20220831152014.3501664-1-nathan@kernel.org> <20220901194705.GI25951@gate.crashing.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Fri, Sep 02, 2022 at 08:43:49AM +0000, Christophe Leroy wrote: > Le 01/09/2022 ? 21:47, Segher Boessenkool a ?crit?: > > On Thu, Sep 01, 2022 at 05:41:33AM +0000, Christophe Leroy wrote: > >> I think it would be worth a GCC bug report. > > > > We need a stand-alone testcase for this. When you have created one, at > > least 98% of the time you discover the bug is in user code after all. > > > > Which is a very good thing, it means the problem can be fixed simpler, > > cheaper, and a lot faster :-) > > Easy to reproduce with a .c file that has a single line: > > non_existing_macro(xxx); That was fast (and cheap and simple) :-) > Apparently that's due to the -w option in arch/powerpc/math_emu/Makefile: > > ccflags-y = -w > > Was introduced by commit d2b194ed8208 ("powerpc/math-emu: Use kernel > generic math-emu code") > > If I understand correctly it means 'ignore all warnings'. Then it seems > CLANG doesn't honor that request. '-w' Inhibit all warning messages. GCC's initial commit has this already (1992). Segher