* Re: [Doc] class_find_device: fix reference to argument
@ 2011-08-22 8:29 Wanlong Gao
0 siblings, 0 replies; 4+ messages in thread
From: Wanlong Gao @ 2011-08-22 8:29 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-kernel, gregkh
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 1165 bytes --]
no,not sure. but i think you are right.
Randy Dunlap <rdunlap@xenotime.net> 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.
>
>---
>~Randy
>*** Remember to use Documentation/SubmitChecklist when testing your code ***
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Doc] class_find_device: fix reference to argument
2011-08-21 21:53 ` Randy Dunlap
@ 2011-08-23 0:48 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2011-08-23 0:48 UTC (permalink / raw)
To: Randy Dunlap; +Cc: Wanlong Gao, linux-kernel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Doc] class_find_device: fix reference to argument
2011-08-21 14:46 ` [Doc] class_find_device: fix reference to argument Wanlong Gao
@ 2011-08-21 21:53 ` Randy Dunlap
2011-08-23 0:48 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2011-08-21 21:53 UTC (permalink / raw)
To: Wanlong Gao; +Cc: linux-kernel, gregkh
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.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Doc] class_find_device: fix reference to argument
2011-08-21 10:56 [Doc] class_find_device: fix reference to argument "match" Rolf Eike Beer
@ 2011-08-21 14:46 ` Wanlong Gao
2011-08-21 21:53 ` Randy Dunlap
0 siblings, 1 reply; 4+ messages in thread
From: Wanlong Gao @ 2011-08-21 14:46 UTC (permalink / raw)
To: linux-kernel
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.
Thanks
-Wanlong Gao
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-08-23 0:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-22 8:29 [Doc] class_find_device: fix reference to argument Wanlong Gao
-- strict thread matches above, loose matches on Subject: below --
2011-08-21 10:56 [Doc] class_find_device: fix reference to argument "match" Rolf Eike Beer
2011-08-21 14:46 ` [Doc] class_find_device: fix reference to argument Wanlong Gao
2011-08-21 21:53 ` Randy Dunlap
2011-08-23 0:48 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.