Received: by 10.223.185.116 with SMTP id b49csp735501wrg; Tue, 20 Feb 2018 07:04:55 -0800 (PST) X-Google-Smtp-Source: AH8x226yH5Xwrr+D0InXq9z7trhWUGg+96Tfi5Ydl7TELblJuS+3bUZHrOo+EwFtgFjTG++Qi0DE X-Received: by 2002:a17:902:6b88:: with SMTP id p8-v6mr17345773plk.261.1519139094892; Tue, 20 Feb 2018 07:04:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519139094; cv=none; d=google.com; s=arc-20160816; b=XrmkeODyGGb5pE1vylEwRyu4wyTVW59NO4bZbuOP3fXYpKteqmqmiRGWLMv+/v9Lmi H9BOuLEaVMC3UAiWIzKICAkErZj2Ics7Q03payMocymH3XzRY/6L/gVBPZe7K1StHIoD AIKN9TADJy8fIvjOwdBC4nbijT/yP4U6FJRl1Faegj14b+cxw3UHaK1OKd2Y9VQ9PxIh TbrFj1AghvNTMl6EHCSRthOm1UkcU7z7zqmZYa0GyrkLLUx6qCPajyVqTMMg8amkxf8W G+WpsBwsj2e0nG/QPtjZOKq51FKcjn5VHklcNINKOb7AIM+pgt10Du9WO7jVMxdSuQol CfIA== 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:arc-authentication-results; bh=bVjVWVufna5t8fJzfzoHTANULrOuDu3ns80SSxU1Xiw=; b=o8kUh570KvV6rtWhabFlMqnwJmr/+LD0ragZYC3n0T1Upc2em9cp4tsKbHkHlDyigj nOUgwjJXTZ4EKprdrtDE8p6ee6m0/LlOEC+BWCv92JyDEJ8rN7LAsHolbJPZ3xm/0X0C TuSZGnFCc6aSiWWeRM+6hgpGTmcwWp4k4RK8N4RNoYCbBNdSjIqV+3Kpe62PEIHMOnOa w0j5MjiANiKkfRa/LFfK//jwReoy9Uht1Jm5bcJ9sBxJnKGvA2t9ixsdFx0c23VRdwJ8 dfTKOPeQ1n2giD8ZYFpXZGw9U85DA78CuYSuoUUSByGYlMF56ilkrmcHk81sMVmbpQQk Bhnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=IQQadIhK; 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 u6si2326039pfd.236.2018.02.20.07.04.38; Tue, 20 Feb 2018 07:04:54 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=IQQadIhK; 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 S1752066AbeBTPDL (ORCPT + 99 others); Tue, 20 Feb 2018 10:03:11 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:50708 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751765AbeBTPDK (ORCPT ); Tue, 20 Feb 2018 10:03:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=bVjVWVufna5t8fJzfzoHTANULrOuDu3ns80SSxU1Xiw=; b=IQQadIhKORjXGuxMrxe8plMUF AAZOTk5qcA2YfIBq1y8tUeGIrubFutL4cWKr28TjxZZT7zaRZS7ENga6ykcsBKLjNb8kaUBK1/WFg b6/REyVKaYN9DoDZvEEkpRpIjmmUkKMtToxRjUCgzzkTsLawdzuILjz/+rq9tIvDpcDjs7NbeCmG6 GDNLbi/Evvp3G1sTmzBS123lr5r1gODvLO0zHaoYkCOZUS3+hfK3Z36FlL61EsvLhNfEdPbZ4GLKw r8Xf0wl7liXjMeLOz/LC6F/3D9N68J5BZfY8S9iyTk22b/FCGB4SImPnSkZfPToOI22tzdSC2YC5e 8nwo602rw==; Received: from willy by bombadil.infradead.org with local (Exim 4.89 #1 (Red Hat Linux)) id 1eo9Ri-0005FM-Qj; Tue, 20 Feb 2018 15:03:06 +0000 Date: Tue, 20 Feb 2018 07:03:06 -0800 From: Matthew Wilcox To: Mike Rapoport Cc: Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] doc-guide: kernel-doc: add comment about formatting verification Message-ID: <20180220150306.GE21243@bombadil.infradead.org> References: <1519138484-29023-1-git-send-email-rppt@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1519138484-29023-1-git-send-email-rppt@linux.vnet.ibm.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 20, 2018 at 04:54:44PM +0200, Mike Rapoport wrote: > level. > > +Running the ``kernel-doc`` tool with increased verbosity and without actual > +output generation may be used to verify proper formating of the "formatting" > +documentation comments. For example:: > + > + scripts/kernel-doc -v -none drivers/foo/bar.c > + > Function documentation > ---------------------- And that's not exactly true. "make W=1" will run that exact command. For example: $ make W=1 net/ipv4/ (...) CC net/ipv4/tcp_input.o net/ipv4/tcp_input.c:4279: warning: Excess function parameter 'dest' description in 'tcp_try_coalesce' CC net/ipv4/tcp_output.o net/ipv4/tcp_output.c:3177: warning: Function parameter or member 'sk' not described in 'tcp_make_synack' (...) perhaps sneak that information in there somewhere. Also it'll prompt people to run with W=1, so perhaps they'll fix their more-easily-fixed warnings ;-)