aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-01-23 11:06:51 -0500
committerDavid S. Miller <davem@davemloft.net>2018-01-23 11:06:51 -0500
commitd76632751af45cbcdac4ff355bdb4e841508dd41 (patch)
treea59a9ecceb17fd2aaf39ab79d31774aee7998369
parente8a22b5f079449f1803d37ce2b5d09acaa68368d (diff)
parent7a006d5988ebd99922784176d902a335b8eb5321 (diff)
Merge branch 'Kernel-doc-fixes-for-networking'
Florian Fainelli says: ==================== Kernel doc fixes for networking This patch series fixes kernel doc warnings found while running make htmldocs pertaining to the networking subsystem. There is a finaly set of warnings due to PHYLINK which I have not been able to resolve yet. The last patch could thereoteically be applied to 'net' since the commit referenced by the Fixes: tag is present in v4.15-rcX. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/phy/sfp-bus.c2
-rw-r--r--include/linux/netdevice.h4
-rw-r--r--net/core/dev.c3
3 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/phy/sfp-bus.c b/drivers/net/phy/sfp-bus.c
index bdc4bb3c8288..8961209ee949 100644
--- a/drivers/net/phy/sfp-bus.c
+++ b/drivers/net/phy/sfp-bus.c
@@ -441,7 +441,7 @@ EXPORT_SYMBOL_GPL(sfp_upstream_stop);
441 441
442/** 442/**
443 * sfp_register_upstream() - Register the neighbouring device 443 * sfp_register_upstream() - Register the neighbouring device
444 * @np: device node for the SFP bus 444 * @fwnode: firmware node for the SFP bus
445 * @ndev: network device associated with the interface 445 * @ndev: network device associated with the interface
446 * @upstream: the upstream private data 446 * @upstream: the upstream private data
447 * @ops: the upstream's &struct sfp_upstream_ops 447 * @ops: the upstream's &struct sfp_upstream_ops
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 837e9cb7e358..581495f4e487 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1469,8 +1469,6 @@ enum netdev_priv_flags {
1469 * @base_addr: Device I/O address 1469 * @base_addr: Device I/O address
1470 * @irq: Device IRQ number 1470 * @irq: Device IRQ number
1471 * 1471 *
1472 * @carrier_changes: Stats to monitor carrier on<->off transitions
1473 *
1474 * @state: Generic network queuing layer state, see netdev_state_t 1472 * @state: Generic network queuing layer state, see netdev_state_t
1475 * @dev_list: The global list of network devices 1473 * @dev_list: The global list of network devices
1476 * @napi_list: List entry used for polling NAPI devices 1474 * @napi_list: List entry used for polling NAPI devices
@@ -1506,6 +1504,8 @@ enum netdev_priv_flags {
1506 * do not use this in drivers 1504 * do not use this in drivers
1507 * @rx_nohandler: nohandler dropped packets by core network on 1505 * @rx_nohandler: nohandler dropped packets by core network on
1508 * inactive devices, do not use this in drivers 1506 * inactive devices, do not use this in drivers
1507 * @carrier_up_count: Number of times the carrier has been up
1508 * @carrier_down_count: Number of times the carrier has been down
1509 * 1509 *
1510 * @wireless_handlers: List of functions to handle Wireless Extensions, 1510 * @wireless_handlers: List of functions to handle Wireless Extensions,
1511 * instead of ioctl, 1511 * instead of ioctl,
diff --git a/net/core/dev.c b/net/core/dev.c
index 94435cd09072..77795f66c246 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1694,7 +1694,6 @@ EXPORT_SYMBOL(unregister_netdevice_notifier);
1694/** 1694/**
1695 * call_netdevice_notifiers_info - call all network notifier blocks 1695 * call_netdevice_notifiers_info - call all network notifier blocks
1696 * @val: value passed unmodified to notifier function 1696 * @val: value passed unmodified to notifier function
1697 * @dev: net_device pointer passed unmodified to notifier function
1698 * @info: notifier information data 1697 * @info: notifier information data
1699 * 1698 *
1700 * Call all network notifier blocks. Parameters and return value 1699 * Call all network notifier blocks. Parameters and return value
@@ -6425,6 +6424,7 @@ rollback:
6425 * netdev_upper_dev_link - Add a link to the upper device 6424 * netdev_upper_dev_link - Add a link to the upper device
6426 * @dev: device 6425 * @dev: device
6427 * @upper_dev: new upper device 6426 * @upper_dev: new upper device
6427 * @extack: netlink extended ack
6428 * 6428 *
6429 * Adds a link to device which is upper to this one. The caller must hold 6429 * Adds a link to device which is upper to this one. The caller must hold
6430 * the RTNL lock. On a failure a negative errno code is returned. 6430 * the RTNL lock. On a failure a negative errno code is returned.
@@ -6446,6 +6446,7 @@ EXPORT_SYMBOL(netdev_upper_dev_link);
6446 * @upper_dev: new upper device 6446 * @upper_dev: new upper device
6447 * @upper_priv: upper device private 6447 * @upper_priv: upper device private
6448 * @upper_info: upper info to be passed down via notifier 6448 * @upper_info: upper info to be passed down via notifier
6449 * @extack: netlink extended ack
6449 * 6450 *
6450 * Adds a link to device which is upper to this one. In this case, only 6451 * Adds a link to device which is upper to this one. In this case, only
6451 * one master upper device can be linked, although other non-master devices 6452 * one master upper device can be linked, although other non-master devices