From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932669AbcKVKTM (ORCPT ); Tue, 22 Nov 2016 05:19:12 -0500 Received: from mga09.intel.com ([134.134.136.24]:18957 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751328AbcKVKTK (ORCPT ); Tue, 22 Nov 2016 05:19:10 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,680,1473145200"; d="scan'208,217";a="1088842455" Date: Tue, 22 Nov 2016 12:19:02 +0200 From: Jarkko Sakkinen To: "Winkler, Tomas" Cc: "tpmdd-devel@lists.sourceforge.net" , Jason Gunthorpe , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/4] tpm: add kdoc for tpm_transmit and tpm_transmit_cmd Message-ID: <20161122101902.mkjoaajjvicd7ia5@intel.com> References: <1479315821-27349-1-git-send-email-tomas.winkler@intel.com> <20161116230016.iyiht373fefu6xt2@intel.com> <5B8DA87D05A7694D9FA63FD143655C1B5432F79C@hasmsx108.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5B8DA87D05A7694D9FA63FD143655C1B5432F79C@hasmsx108.ger.corp.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 22, 2016 at 09:44:20AM +0000, Winkler, Tomas wrote: > > > > On Wed, Nov 16, 2016 at 07:03:38PM +0200, Tomas Winkler wrote: > > > Functions tpm_transmit and transmit_cmd are referenced from other > > > functions kdoc hence deserve documentation. > > > > > > Signed-off-by: Tomas Winkler > > > > Do you know how to make "make htmldocs" to generate documentation for the > > source tree? I do not except the ones that I imported when I created an RST > > version of the Stefans documentation. > > I'm using a quick script like that > RES=tpm-kdoc.html > rm -r $RES kdoc.err > files=$(git ls-files drivers/char/tpm/*.[ch] includ/linux/tpm.h includ/linux/tpm_command.h) > > echo '' > $RES > for f in ${files}; do > ./scripts/kernel-doc -html $f >> $RES 2>> kdoc.err > done > echo '' >> $RES > cat kdoc.err | grep -v 'warning: no structured comments found' Thanks. I'll try this as soon as the release chaos is over. /Jarkko