This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new c8f8a61f89 Fix wrong variable name. lock -> eth_lock c8f8a61f89 is described below commit c8f8a61f89263d6df6f7d88f95526d9bffa9edff Author: wangzhi16 <wangzh...@xiaomi.com> AuthorDate: Fri Jan 24 13:14:44 2025 +0800 Fix wrong variable name. lock -> eth_lock Signed-off-by: wangzhi16 <wangzh...@xiaomi.com> --- arch/arm/src/lpc54xx/lpc54_ethernet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/lpc54xx/lpc54_ethernet.c b/arch/arm/src/lpc54xx/lpc54_ethernet.c index 7124cfc1e5..5fb2cd2002 100644 --- a/arch/arm/src/lpc54xx/lpc54_ethernet.c +++ b/arch/arm/src/lpc54xx/lpc54_ethernet.c @@ -297,7 +297,7 @@ struct lpc54_ethdriver_s struct work_s eth_pollwork; /* For deferring poll work to the work queue */ struct work_s eth_timeoutwork; /* For deferring timeout work to the work queue */ struct sq_queue_s eth_freebuf; /* Free packet buffers */ - spinlock_t lock; /* Spinlock */ + spinlock_t eth_lock; /* Spinlock */ /* Ring state */ @@ -1451,7 +1451,7 @@ static void lpc54_eth_interrupt_work(void *arg) lpc54_eth_channel_work(priv, 1); } - /* Un-eth_lock the network and re-enable Ethernet interrupts */ + /* Un-lock the network and re-enable Ethernet interrupts */ net_unlock(); up_enable_irq(LPC54_IRQ_ETHERNET);