diff options
author | Radhey Shyam Pandey <radhey.shyam.pandey@amd.com> | 2022-10-26 17:15:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-10-28 12:39:57 +0200 |
commit | 8fdf3f6aba7cfa0c0e2bf66ecca7bb5783acd0d6 (patch) | |
tree | 98f4ea965225559010b98f35c37b05c087278c99 /drivers/net/ethernet/xilinx | |
parent | net: dsa: Fix possible memory leaks in dsa_loop_init() (diff) | |
download | linux-8fdf3f6aba7cfa0c0e2bf66ecca7bb5783acd0d6.tar.xz linux-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/ethernet/xilinx')
-rw-r--r-- | drivers/net/ethernet/xilinx/xilinx_emaclite.c | 2 |
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 |