From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932916AbcFCU1j (ORCPT ); Fri, 3 Jun 2016 16:27:39 -0400 Received: from tex.lwn.net ([70.33.254.29]:52223 "EHLO vena.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932351AbcFCU1O (ORCPT ); Fri, 3 Jun 2016 16:27:14 -0400 Date: Fri, 3 Jun 2016 14:27:11 -0600 From: Jonathan Corbet To: Daniel Vetter Cc: Jani Nikula , Markus Heiser , Grant Likely , Mauro Carvalho Chehab , Dan Allen , Russel Winder , Keith Packard , LKML , linux-doc@vger.kernel.org, Hans Verkuil Subject: Re: [PATCH 00/10] Documentation/Sphinx Message-ID: <20160603142711.010cc464@lwn.net> In-Reply-To: References: <20160603141618.56417305@lwn.net> Organization: LWN.net X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 3 Jun 2016 22:24:03 +0200 Daniel Vetter wrote: > > This is maybe a job for a separate tool. A related issue is the (fairly > > frequent) "oh look, none of the comments in $FILE are being used" > > realization that seems to happen fairly often. It would be nice to check > > for that, but that's going to be hard to shoehorn into Sphinx. > > I think much more valuable would be a tool that checks whether > comments are pulled in anywhere (for a given source file), over the > entire tree. Very often entire subsystems carg-cult kernel-doc, but > never use it in a .tmpl, which means 0-day won't notice, and neither > anyone else. That is kind of what I was trying to get at, yes :) jon