From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Add KernelDoc for soft-interface lockdep functions
Date: Mon, 27 Aug 2012 10:53:51 +0200 [thread overview]
Message-ID: <1346057631-2382-2-git-send-email-sven@narfation.org> (raw)
In-Reply-To: <1346057631-2382-1-git-send-email-sven@narfation.org>
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);
--
1.7.10.4
next prev parent reply other threads:[~2012-08-27 8:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-27 8:53 [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Write lockdep xmit class in late initialization phase Sven Eckelmann
2012-08-27 8:53 ` Sven Eckelmann [this message]
2012-09-09 8:15 ` [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Add KernelDoc for soft-interface lockdep functions Marek Lindner
2012-08-30 11:46 ` [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Write lockdep xmit class in late initialization phase Antonio Quartulli
2012-09-09 8:13 ` Marek Lindner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1346057631-2382-2-git-send-email-sven@narfation.org \
--to=sven@narfation.org \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox