mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Doc] class_find_device: fix reference to argument "match"
@ 2011-08-21 10:56 Rolf Eike Beer
  2011-08-21 14:46 ` [Doc] class_find_device: fix reference to argument Wanlong Gao
  0 siblings, 1 reply; 5+ messages in thread
From: Rolf Eike Beer @ 2011-08-21 10:56 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, akpm

Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
---
 drivers/base/class.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/base/class.c b/drivers/base/class.c
index 4f1df2e..5bd577b 100644
--- a/drivers/base/class.c
+++ b/drivers/base/class.c
@@ -403,7 +403,7 @@ EXPORT_SYMBOL_GPL(class_for_each_device);
  *
  * Note, you will need to drop the reference with put_device() after use.
  *
- * @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,
-- 
1.7.6


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [Doc] class_find_device: fix reference to argument
@ 2011-08-22  8:29 Wanlong Gao
  0 siblings, 0 replies; 5+ 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] 5+ messages in thread

end of thread, other threads:[~2011-08-23  0:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2011-08-22  8:29 Wanlong Gao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®