e27bb6fa916451e9eaced16e7c21d5b71a3b7f30 ("batman-adv: Set special lockdep classes to avoid lockdep warning") added new functions, but no new documentation for these functions.
Signed-off-by: Sven Eckelmann sven@narfation.org --- soft-interface.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/soft-interface.c b/soft-interface.c index 72d8767..5fd3e30 100644 --- a/soft-interface.c +++ b/soft-interface.c @@ -359,6 +359,12 @@ out: static struct lock_class_key batadv_netdev_xmit_lock_key; static struct lock_class_key batadv_netdev_addr_lock_key;
+/** + * batadv_set_lockdep_class_one - Set lockdep class for a single tx queue + * @dev: device which owns the tx queue + * @txq: tx queue to modify + * @_unused: always NULL + */ static void batadv_set_lockdep_class_one(struct net_device *dev, struct netdev_queue *txq, void *_unused) @@ -366,6 +372,10 @@ static void batadv_set_lockdep_class_one(struct net_device *dev, lockdep_set_class(&txq->_xmit_lock, &batadv_netdev_xmit_lock_key); }
+/** + * batadv_set_lockdep_class - Set txq and addr_list lockdep class + * @dev: network device to modify + */ static void batadv_set_lockdep_class(struct net_device *dev) { lockdep_set_class(&dev->addr_list_lock, &batadv_netdev_addr_lock_key);