From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754272AbcKRQyG (ORCPT ); Fri, 18 Nov 2016 11:54:06 -0500 Received: from casper.infradead.org ([85.118.1.10]:49770 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752123AbcKRQyF (ORCPT ); Fri, 18 Nov 2016 11:54:05 -0500 Date: Fri, 18 Nov 2016 16:54:03 +0000 (GMT) From: James Simmons To: Greg Kroah-Hartman cc: devel@driverdev.osuosl.org, Andreas Dilger , Oleg Drokin , Linux Kernel Mailing List , Lustre Development List , Jian Yu Subject: Re: [PATCH 32/35] staging: lustre: mount: fix lmd_parse() to handle commas in expr_list In-Reply-To: <20161114151246.GA29168@kroah.com> Message-ID: References: <1478799065-24841-1-git-send-email-jsimmons@infradead.org> <1478799065-24841-33-git-send-email-jsimmons@infradead.org> <20161114151246.GA29168@kroah.com> User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161118_165403_192518_2964034B X-CRM114-Status: GOOD ( 16.08 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on casper.infradead.org summary: Content analysis details: (-1.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 NO_RELAYS Informational: message was not relayed via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > --- a/drivers/staging/lustre/lustre/obdclass/obd_mount.c > > +++ b/drivers/staging/lustre/lustre/obdclass/obd_mount.c > > @@ -871,6 +871,87 @@ static int lmd_parse_mgs(struct lustre_mount_data *lmd, char **ptr) > > return 0; > > } > > > > +/** > > + * Find the first comma delimiter from the specified \a buf and make \a *endh > > + * point to the string starting with the comma. The commas in expression list > > + * [...] will be skipped. > > + * > > + * \param[in] buf a comma-separated string > > + * \param[in] endh a pointer to a pointer that will point to the string > > + * starting with the comma > > Please drop this mess of \param, it's not needed and is not kernel-doc > format. Is it just the [in] mess that needs to be removed or does the doc style need to migrate to another format. Looking online doesn't reveal much and' I saw something about @arg format as well. I see both in tree. What is the right one to use and do clear docs on this format exist somewhere.