From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from newverein.lst.de (verein.lst.de [213.95.11.211]) by mail09.linbit.com (LINBIT Mail Daemon) with ESMTP id 38ACC1057315 for ; Tue, 15 May 2018 16:38:24 +0200 (CEST) Date: Tue, 15 May 2018 16:42:44 +0200 From: Christoph Hellwig To: David Howells Message-ID: <20180515144244.GA32583@lst.de> References: <20180425154827.32251-5-hch@lst.de> <20180425154827.32251-1-hch@lst.de> <26540.1525094365@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <26540.1525094365@warthog.procyon.org.uk> Cc: linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni , devel@driverdev.osuosl.org, linux-scsi@vger.kernel.org, linux-acpi@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , megaraidlinux.pdl@broadcom.com, linux-kernel@vger.kernel.org, linux-afs@lists.infradead.org, linux-ide@vger.kernel.org, netfilter-devel@vger.kernel.org, Alexander Viro , netdev@vger.kernel.org, Andrew Morton , linux-ext4@vger.kernel.org, drbd-dev@lists.linbit.com, Christoph Hellwig , jfs-discussion@lists.sourceforge.net, Alexey Dobriyan Subject: Re: [Drbd-dev] [PATCH 04/40] proc: introduce proc_create_seq{, _data} List-Id: "*Coordination* of development, patches, contributions -- *Questions* \(even to developers\) go to drbd-user, please." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Apr 30, 2018 at 02:19:25PM +0100, David Howells wrote: > Christoph Hellwig wrote: > > > + > > +struct proc_dir_entry *proc_create_seq_data(const char *name, umode_t mode, > > + struct proc_dir_entry *parent, const struct seq_operations *ops, > > + void *data) > > +{ > > ... > > +EXPORT_SYMBOL(proc_create_seq_data); > > Please add documentation comments to exported functions when you add them. None of the base functions are document, and we really want people to not use procfs for new code anyway. But if I get some consensus from the maintainers and the list I can throw in another patch to document all proc_create* variants.