lkml.org 
[lkml]   [2011]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Doc] class_find_device: fix reference to argument
On Sun, Aug 21, 2011 at 02:53:55PM -0700, Randy Dunlap wrote:
> On Sun, 21 Aug 2011 14:46:04 +0000 (UTC) Wanlong Gao wrote:
>
> > Rolf Eike Beer <eike <at> sf-mail.de> writes:
> >
> > >
> > > Signed-off-by: Rolf Eike Beer <eike-kernel <at> sf-tec.de>
> > > ---
> > > drivers/base/class.c | 2 +-
> > > 1 files changed, 1 insertions(+), 1 deletions(-)
> > >
> >
> > > - * @fn is allowed to do anything including calling back into class
> > > + * @match is allowed to do anything including calling back into class
> > > * code. There's no locking restriction.
> > > */
> > > struct device *class_find_device(struct class *class, struct device *start,
> >
> > NACK, it means the function class_find_device but not the @match.
>
> Are you sure? Looks to me like a comment that was copied from
> class_for_each_device() but shouldn't have been copied.
>
> Anyway, I'll cc: Greg to see if he knows.

I think the above patch is probably correct, as it can reenter if
needed.

thanks,

greg k-h


\
 
 \ /
  Last update: 2011-08-23 02:59    [W:0.038 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site