lkml.org 
[lkml]   [2009]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] TRIVIAL: fix grammo in bus_for_each_dev() kerneldoc
    Alex Chiang wrote:
    > Cc: Randy Dunlap <randy.dunlap@oracle.com>

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

    Thanks.

    > Signed-off-by: Alex Chiang <achiang@hp.com>
    > ---
    >
    > 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/


    \
     
     \ /
      Last update: 2009-05-14 23:01    [W:0.020 / U:60.216 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site