]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: net_failover: Correct parameter name 'standby_dev'
authorLee Jones <lee.jones@linaro.org>
Mon, 2 Nov 2020 11:45:11 +0000 (11:45 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 4 Nov 2020 00:40:23 +0000 (16:40 -0800)
Fixes the following W=1 kernel build warning(s):

 drivers/net/net_failover.c:711: warning: Function parameter or member 'standby_dev' not described in 'net_failover_create'
 drivers/net/net_failover.c:711: warning: Excess function parameter 'dev' description in 'net_failover_create'

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20201102114512.1062724-30-lee.jones@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/net_failover.c

index fb182bec8f062378414235ac81e11d4520f6f010..2a4892402ed8c46ba0b12c56a086c44c0a56052c 100644 (file)
@@ -697,7 +697,7 @@ static struct failover_ops net_failover_ops = {
 /**
  * net_failover_create - Create and register a failover instance
  *
- * @dev: standby netdev
+ * @standby_dev: standby netdev
  *
  * Creates a failover netdev and registers a failover instance for a standby
  * netdev. Used by paravirtual drivers that use 3-netdev model.