Re: [PATCH 1/6] doc: add structured doc for ptrlist.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 15, 2018 at 01:13:50PM -0700, Randy Dunlap wrote:
> On 05/14/2018 12:54 PM, Luc Van Oostenryck wrote:
> > +///
> > +// get the size of a ptrlist
> > +// @head: the head of the list
> > +// Returns the size of the list given by @head.
> >  int ptr_list_size(struct ptr_list *head)
> >  {
> >  	int nr = 0;
> 
> I'm happy to see that you/we don't have to list the function name
> (since people seem to mistype it or not edit it when the function changes).

Oh yes. For the reasons you wrote here above but also because
I'm a lazy and also I don't want to 'pollute' grep's output.

-- Luc
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux