Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp609564imu; Fri, 9 Nov 2018 03:13:06 -0800 (PST) X-Google-Smtp-Source: AJdET5fWUq9z4+EwDSueKBR/WxYAto2onpbAFZwPkAJDm64WOoohkzYmX94P2K8lbB2gIQpMan81 X-Received: by 2002:a62:5d49:: with SMTP id r70-v6mr8664328pfb.123.1541761986063; Fri, 09 Nov 2018 03:13:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541761986; cv=none; d=google.com; s=arc-20160816; b=caJZ9LI/r+CLUnphJnSdgRJjMXeCeVn3RHDrkd9ePGMjtcbFRySd3djGgTRUz/BE10 Si8DzEiKkpRf3E/hMofUJmZcxafBPQpQ3xIgeb18dkikxY2GwV0g/0Ln0jj11L8MRjUW Au7reMO81s9xnFT9Fcr1q7O1mwjHrlNnDT6gmweeetCRNWENBHWKUZohTj7nJYSmafg5 iLcZlKr2iuz5AW6zHL3a2Tv45VOMCLe7fFkPVIJRKv7Cx86xxoTTvvdAeWW5gZh425hT OwFA8NbliBDeeEUq503tzkHBIWs9hs9Tbls7Cx2mrozNUjPut9U3xf/OWwYux+s+VJ50 fWGg== 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:dkim-signature; bh=62ZZuljOngMq5m1km/fp6UW1Slf7zD26lIgiKC1Oz3A=; b=jHT3L5TS+YMxIOb9ntg0scFX1AVZIoFozxZDrYUU7PjALNRygygsIXc9ga4A6m1/7U 28UllvF56iQB0Es55lE/C/P6vHmTeXplYLMVYqFLp3mnNHlXYjy2fcka8Vjee/MS6Cvl 3i1sjsbaH3jVYAUKfiN0QWLnRljJSjtoMGa5+1xKCRwcTRqwlpTTcMhPS1a46NcaaZ1h NSw6GXEMITYlXbmdVqpDLV+qspv8omaf1aLoOIWWE/QtL45liCDw7wfPwAiRULFlpKyU hC42z1UuVpRUv03mp7Vf/qyAERqtdBgLntVMRzM9mOCRY+9l7+N6VZChK3ftJFONJf+n cIYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mbH8p3uD; 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 c38-v6si5700058pgl.166.2018.11.09.03.12.49; Fri, 09 Nov 2018 03:13:06 -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; dkim=pass header.i=@kernel.org header.s=default header.b=mbH8p3uD; 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 S1727760AbeKIUwf (ORCPT + 99 others); Fri, 9 Nov 2018 15:52:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:38118 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727537AbeKIUwe (ORCPT ); Fri, 9 Nov 2018 15:52:34 -0500 Received: from localhost (71-6-98-120.static-ip.telepacific.net [71.6.98.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1108A20827; Fri, 9 Nov 2018 11:12:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541761946; bh=4FKFgeXgL0Ty6W9E+h1lyh8Pf3JRN80uoPclbfIrYOY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mbH8p3uDWb9GQ0X3xScHuIe6N2VlraGoZCQVo4rps4NG1i8LvimD/MCqu2ycYD0Xf my4bavSL0N8VJWWjY8IHFybUTnZByonhmpwW4JGxBFOzl/6PB4LfaBg02u+12NBC84 F2U1tJWt99WPfE/skFs2nzJ7c5vxCGzgueu3mUYU= Date: Fri, 9 Nov 2018 03:12:25 -0800 From: Greg KH To: Borislav Petkov Cc: wang.yi59@zte.com.cn, 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: <20181109111225.GA26335@kroah.com> References: <20181108172225.GH7543@zn.tnic> <201811090843126464658@zte.com.cn> <20181109105538.GA21243@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181109105538.GA21243@zn.tnic> 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 11:55:38AM +0100, Borislav Petkov wrote: > 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... Sure, sounds like a good task. Post it to the driverdevel mailing list and see if people are interested. thanks, greg k-h