diff mbox

net: fix new kernel-doc warnings in net core

Message ID 5135210B.6090207@infradead.org
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Randy Dunlap March 4, 2013, 10:32 p.m. UTC
From: Randy Dunlap <rdunlap@infradead.org>

Fix new kernel-doc warnings in net/core/dev.c:

Warning(net/core/dev.c:4788): No description found for parameter 'new_carrier'
Warning(net/core/dev.c:4788): Excess function parameter 'new_carries' description in 'dev_change_carrier'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
 net/core/dev.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller March 6, 2013, 4:56 a.m. UTC | #1
From: Randy Dunlap <rdunlap@infradead.org>
Date: Mon, 04 Mar 2013 14:32:43 -0800

> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Fix new kernel-doc warnings in net/core/dev.c:
> 
> Warning(net/core/dev.c:4788): No description found for parameter 'new_carrier'
> Warning(net/core/dev.c:4788): Excess function parameter 'new_carries' description in 'dev_change_carrier'
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>

Applied, thanks Randy.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- lnx-39-rc1.orig/net/core/dev.c
+++ lnx-39-rc1/net/core/dev.c
@@ -4780,7 +4780,7 @@  EXPORT_SYMBOL(dev_set_mac_address);
 /**
  *	dev_change_carrier - Change device carrier
  *	@dev: device
- *	@new_carries: new value
+ *	@new_carrier: new value
  *
  *	Change device carrier
  */