[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201010051002.21609.rusty@rustcorp.com.au>
Date: Tue, 5 Oct 2010 10:02:20 +1030
From: Rusty Russell <rusty@...tcorp.com.au>
To: matt mooney <mfm@...eddisk.com>
Cc: André Goddard Rosa <andre.goddard@...il.com>,
linux-kernel@...r.kernel.org,
Alan Jenkins <alan-jenkins@...fmail.co.uk>,
Tim Abbott <tabbott@...lice.com>
Subject: Re: [PATCH v4 2/2] bsearch: prevent overflow when computing middle comparison element
On Fri, 24 Sep 2010 03:20:12 pm matt mooney wrote:
> > + * bsearch - binary search an array of elements
> > + * @key: pointer to item being searched for
> > + * @base: pointer to data to sort
>
> The comment for "@base" seems wrong. It appears that it should say "pointer to
> sorted data" or "pointer to search data" instead.
Thanks, fixed:
+ * @base: pointer to first element to search
Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists