Re: [PATCH] TRIVIAL: fix grammo in bus_for_each_dev() kerneldoc

From: Randy Dunlap
Date: Thu May 14 2009 - 16:57:41 EST


Alex Chiang wrote:
> Cc: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Acked-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Thanks.

> Signed-off-by: Alex Chiang <achiang@xxxxxx>
> ---
>
> drivers/base/bus.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/base/bus.c b/drivers/base/bus.c
> index dc030f1..4476a4e 100644
> --- a/drivers/base/bus.c
> +++ b/drivers/base/bus.c
> @@ -279,7 +279,7 @@ static struct device *next_device(struct klist_iter *i)
> *
> * NOTE: The device that returns a non-zero value is not retained
> * in any way, nor is its refcount incremented. If the caller needs
> - * to retain this data, it should do, and increment the reference
> + * to retain this data, it should do so, and increment the reference
> * count in the supplied callback.
> */
> int bus_for_each_dev(struct bus_type *bus, struct device *start,
>


--
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/