Skip to content

Commit d766327

Browse files
committed
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 <[email protected]>
2 parents e8a22b5 + 7a006d5 commit d766327

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

drivers/net/phy/sfp-bus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ EXPORT_SYMBOL_GPL(sfp_upstream_stop);
441441

442442
/**
443443
* sfp_register_upstream() - Register the neighbouring device
444-
* @np: device node for the SFP bus
444+
* @fwnode: firmware node for the SFP bus
445445
* @ndev: network device associated with the interface
446446
* @upstream: the upstream private data
447447
* @ops: the upstream's &struct sfp_upstream_ops

include/linux/netdevice.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,8 +1469,6 @@ enum netdev_priv_flags {
14691469
* @base_addr: Device I/O address
14701470
* @irq: Device IRQ number
14711471
*
1472-
* @carrier_changes: Stats to monitor carrier on<->off transitions
1473-
*
14741472
* @state: Generic network queuing layer state, see netdev_state_t
14751473
* @dev_list: The global list of network devices
14761474
* @napi_list: List entry used for polling NAPI devices
@@ -1506,6 +1504,8 @@ enum netdev_priv_flags {
15061504
* do not use this in drivers
15071505
* @rx_nohandler: nohandler dropped packets by core network on
15081506
* 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
15091509
*
15101510
* @wireless_handlers: List of functions to handle Wireless Extensions,
15111511
* instead of ioctl,

net/core/dev.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1694,7 +1694,6 @@ EXPORT_SYMBOL(unregister_netdevice_notifier);
16941694
/**
16951695
* call_netdevice_notifiers_info - call all network notifier blocks
16961696
* @val: value passed unmodified to notifier function
1697-
* @dev: net_device pointer passed unmodified to notifier function
16981697
* @info: notifier information data
16991698
*
17001699
* Call all network notifier blocks. Parameters and return value
@@ -6425,6 +6424,7 @@ static int __netdev_upper_dev_link(struct net_device *dev,
64256424
* netdev_upper_dev_link - Add a link to the upper device
64266425
* @dev: device
64276426
* @upper_dev: new upper device
6427+
* @extack: netlink extended ack
64286428
*
64296429
* Adds a link to device which is upper to this one. The caller must hold
64306430
* the RTNL lock. On a failure a negative errno code is returned.
@@ -6446,6 +6446,7 @@ EXPORT_SYMBOL(netdev_upper_dev_link);
64466446
* @upper_dev: new upper device
64476447
* @upper_priv: upper device private
64486448
* @upper_info: upper info to be passed down via notifier
6449+
* @extack: netlink extended ack
64496450
*
64506451
* Adds a link to device which is upper to this one. In this case, only
64516452
* one master upper device can be linked, although other non-master devices

0 commit comments

Comments
 (0)