summaryrefslogtreecommitdiffstats
path: root/drivers/net/net_failover.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-11-02 12:45:11 +0100
committerJakub Kicinski <kuba@kernel.org>2020-11-04 01:40:23 +0100
commitc1c0f6eac3db61761dc8bfeb2e61989b1f3eeee9 (patch)
tree6a2cf74e82eeff7a1a1ed92f0dab2561d6b0e137 /drivers/net/net_failover.c
parentnet: netconsole: Add description for 'netconsole_target's extended attribute (diff)
downloadlinux-c1c0f6eac3db61761dc8bfeb2e61989b1f3eeee9.tar.xz
linux-c1c0f6eac3db61761dc8bfeb2e61989b1f3eeee9.zip
net: net_failover: Correct parameter name 'standby_dev'
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>
Diffstat (limited to 'drivers/net/net_failover.c')
-rw-r--r--drivers/net/net_failover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/net_failover.c b/drivers/net/net_failover.c
index fb182bec8f06..2a4892402ed8 100644
--- a/drivers/net/net_failover.c
+++ b/drivers/net/net_failover.c
@@ -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.