aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorRadhey Shyam Pandey <radhey.shyam.pandey@amd.com>2022-10-26 20:45:24 +0530
committerDavid S. Miller <davem@davemloft.net>2022-10-28 11:39:57 +0100
commit8fdf3f6aba7cfa0c0e2bf66ecca7bb5783acd0d6 (patch)
tree98f4ea965225559010b98f35c37b05c087278c99 /drivers/net
parentnet: dsa: Fix possible memory leaks in dsa_loop_init() (diff)
downloadlinux-dev-8fdf3f6aba7cfa0c0e2bf66ecca7bb5783acd0d6.tar.xz
linux-dev-8fdf3f6aba7cfa0c0e2bf66ecca7bb5783acd0d6.zip
net: emaclite: update reset_lock member documentation
Instead of generic description, mention what reset_lock actually protects i.e. lock to serialize xmit and tx_timeout execution. Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/xilinx/xilinx_emaclite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
index 05848ff15fb5..a3967f8de417 100644
--- a/drivers/net/ethernet/xilinx/xilinx_emaclite.c
+++ b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
@@ -108,7 +108,7 @@
* @next_tx_buf_to_use: next Tx buffer to write to
* @next_rx_buf_to_use: next Rx buffer to read from
* @base_addr: base address of the Emaclite device
- * @reset_lock: lock used for synchronization
+ * @reset_lock: lock to serialize xmit and tx_timeout execution
* @deferred_skb: holds an skb (for transmission at a later time) when the
* Tx buffer is not free
* @phy_dev: pointer to the PHY device