From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2EB46C433E0 for ; Wed, 20 May 2020 17:19:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 016C02072C for ; Wed, 20 May 2020 17:19:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alien8.de header.i=@alien8.de header.b="in49gkq3" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727098AbgETRTb (ORCPT ); Wed, 20 May 2020 13:19:31 -0400 Received: from mail.skyhub.de ([5.9.137.197]:43044 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726548AbgETRTa (ORCPT ); Wed, 20 May 2020 13:19:30 -0400 Received: from zn.tnic (p200300ec2f0bab0091014823f6ed2297.dip0.t-ipconnect.de [IPv6:2003:ec:2f0b:ab00:9101:4823:f6ed:2297]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id A646E1EC02CF; Wed, 20 May 2020 19:19:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1589995169; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=zhU45fI/CA3wuFt48B50fMgYqlagkSqzGMK7oqHwFsU=; b=in49gkq3bglqba6c0XBPRuNsPjqeEIm/cWYww8/zxlc5D72ZYNGUZkg3B6BsGOW+VxmbNq vqr1iagn0a4lqhKUb/j0gnSrdW65UpjoMW0cXp34SZUfSWeg0BsIufW5jpplL9EsIsV0e8 1nolWs1eNNbYWZkNz56Kv/ggx25N17A= Date: Wed, 20 May 2020 19:19:22 +0200 From: Borislav Petkov To: Nick Desaulniers Cc: Philip Li , Masahiro Yamada , lkp , Christoph Hellwig , "kbuild-all@lists.01.org" , clang-built-linux , LKML , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Benjamin Thiel , Nathan Chancellor Subject: Re: [tip:x86/mm 1/23] arch/x86/mm/init.c:75:6: warning: no previous prototype for function 'x86_has_pat_wp' Message-ID: <20200520171922.GH1457@zn.tnic> References: <202005200123.gFjGzJEH%lkp@intel.com> <20200519205505.GD444@zn.tnic> <20200519212541.GA3580016@ubuntu-s3-xlarge-x86> <831EE4E5E37DCC428EB295A351E6624952648ACF@shsmsx102.ccr.corp.intel.com> <20200520005218.GA3101@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 19, 2020 at 06:07:14PM -0700, Nick Desaulniers wrote: > It may be time to consider "promoting" some warnings from W=1 to be on > by default. That's the end goal with -Wmissing-prototypes for arch/x86/ at least. We'll turn that on once all current warnings are fixed and won't allow any more patches with it. This is where the 0day bot would help with testing this but it really should say that it is a W=1 build and should tone down the message frequency as we're still very noisy. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette