public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] driver-core: fix kernel-doc parameter name
@ 2009-01-21  0:29 Randy Dunlap
  2009-01-21  7:15 ` Mark McLoughlin
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2009-01-21  0:29 UTC (permalink / raw)
  To: lkml; +Cc: gregkh, Mark McLoughlin

From: Randy Dunlap <randy.dunlap@oracle.com>

Fix function parameter name in kernel-doc:

Warning(linux-next-20090120//drivers/base/core.c:1289): No description found for parameter 'dev'
Warning(linux-next-20090120//drivers/base/core.c:1289): Excess function parameter 'root' description in 'root_device_unregister'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
cc: Mark McLoughlin <markmc@redhat.com>
---
 drivers/base/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20090120.orig/drivers/base/core.c
+++ linux-next-20090120/drivers/base/core.c
@@ -1280,7 +1280,7 @@ EXPORT_SYMBOL_GPL(__root_device_register
 
 /**
  * root_device_unregister - unregister and free a root device
- * @root: device going away.
+ * @dev: device going away
  *
  * This function unregisters and cleans up a device that was created by
  * root_device_register().

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] driver-core: fix kernel-doc parameter name
  2009-01-21  0:29 [PATCH -next] driver-core: fix kernel-doc parameter name Randy Dunlap
@ 2009-01-21  7:15 ` Mark McLoughlin
  0 siblings, 0 replies; 2+ messages in thread
From: Mark McLoughlin @ 2009-01-21  7:15 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: lkml, gregkh

On Tue, 2009-01-20 at 16:29 -0800, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Fix function parameter name in kernel-doc:
> 
> Warning(linux-next-20090120//drivers/base/core.c:1289): No description found for parameter 'dev'
> Warning(linux-next-20090120//drivers/base/core.c:1289): Excess function parameter 'root' description in 'root_device_unregister'
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> cc: Mark McLoughlin <markmc@redhat.com>

Acked-by: Mark McLoughlin <markmc@redhat.com>

Thanks,
Mark.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-21  7:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-21  0:29 [PATCH -next] driver-core: fix kernel-doc parameter name Randy Dunlap
2009-01-21  7:15 ` Mark McLoughlin

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