Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp594404imu; Fri, 9 Nov 2018 02:57:48 -0800 (PST) X-Google-Smtp-Source: AJdET5cuDZ8wpUzJ23CoCqgmOBmxoWEn891QD7XJRB9d6o4pQOiMQXtMg5ufObHygZNUTtfb5AzD X-Received: by 2002:a17:902:5a2:: with SMTP id f31-v6mr8327295plf.320.1541761068540; Fri, 09 Nov 2018 02:57:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541761068; cv=none; d=google.com; s=arc-20160816; b=qhfo2Le3F0JzB7mi1p4c7v3NG1Do/lXime154cDGSlO7DP4Vc0j8MM2dIP5PrVks7Z gLbxo4whi+GJ8walW7XBi1CywP3wq6/vo3hi+zsWWRmhF9nfWuPWlJ68tOPhGniGcean aHRYR6Zg4tVZK5dRzTxuK1NpAy4JzwR/R5PIvG5YgqXoQId7W2wQm5lftBIkuQu/Hoge y/BIkVMsa4gMMuzao9UCFIC7oV2K4z+vQU0X9UVky8R5IPa4K0vG8Pq2k2IIL6N4h9fx 7Wboda2ZAYk8wEbpjm9+p+J5jzjl7fOz39NnPJrXPbLyJmvPR52BET9JAX7Tot/58rBV tqug== 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=uz88wRWj/trnqqW1w9Aj1eWv6votnc17/35Ve8xw9rs=; b=PDIe+jiyeOYd9conLbrl+WRDnwX1XS3nsUq1yA0pGfADql4td8j9HCVgceM6NMSuSO c8x8+FjePIkgpi40kk2hKt4WqsKmh4Q570+HTBDm01PZcdGApLQ3nCILYXh5EERvnigu MnxJj0Itt9SZY8CJeLdulVqzbsBzdEy5QLq1UjpOXm/ai/Lnvw3JGgUFsw+oK5bZhUrE s7X7R66bYMNrd9ShY4wXwEVZ/1bXqCxHMxgObr3EQYdLfl1472S1czhierQrdZZvEYoJ AC4RQg+fN8NTHx66Bohl6cJqKIzzYpf4Pq7TYPEEYxakOe68xX0nIoDJNuzU532XNBCv z0Vw== 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 be8-v6si6767789plb.143.2018.11.09.02.57.33; Fri, 09 Nov 2018 02:57:48 -0800 (PST) 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 S1728244AbeKIUfv (ORCPT + 99 others); Fri, 9 Nov 2018 15:35:51 -0500 Received: from mail.skyhub.de ([5.9.137.197]:55404 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727649AbeKIUfv (ORCPT ); Fri, 9 Nov 2018 15:35:51 -0500 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id sGylahfVADgx; Fri, 9 Nov 2018 11:55:46 +0100 (CET) Received: from zn.tnic (p200300EC2BD03D00329C23FFFEA6A903.dip0.t-ipconnect.de [IPv6:2003:ec:2bd0:3d00:329c:23ff:fea6:a903]) (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 D38BD1EC00E8; Fri, 9 Nov 2018 11:55:45 +0100 (CET) Date: Fri, 9 Nov 2018 11:55:38 +0100 From: Borislav Petkov To: wang.yi59@zte.com.cn, Greg KH Cc: matz@suse.de, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, suravee.suthikulpanit@amd.com, puwen@hygon.cn, davidwang@zhaoxin.com, linux-kernel@vger.kernel.org, zhong.weidong@zte.com.cn Subject: Re: [PATCH v2] x86/cpu: fix prototype warning Message-ID: <20181109105538.GA21243@zn.tnic> References: <20181108172225.GH7543@zn.tnic> <201811090843126464658@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <201811090843126464658@zte.com.cn> 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 Fri, Nov 09, 2018 at 08:43:12AM +0800, wang.yi59@zte.com.cn wrote: > Yeah, so that is. However, I suppose we should not enable this by default > before we fix ALL of these warning, Yeah, the build is really noisy now. > which is really a hard work. :) Yeah, I wonder if adding this to a kernel janitors TODO list or somesuch would help speeding up the process. Maybe Greg knows. Greg, the question is whether we can get people to help out with -Wmissing-prototypes fixes around the tree. Currently, there are ~1400 warnings and we want to have 0 and then add that option to the main Makefile. It is very easy to do: you simply build the kernel with W=1, choose one -Wmissing-prototypes warning and fix it by adding a function prototype or declaring the function static. It should be a pretty easy for newbies to get involved... > Aha, I will try my best to to work on this, and as you said, that's a long > road to go, so maybe I would only work on modules which I am familiar with. ;-) Sounds good. Thx. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.