* [net PATCH] octeontx2-af: Use matching wake_up API variant in CGX command interface
@ 2024-03-12 7:06 Linu Cherian
2024-03-13 8:20 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Linu Cherian @ 2024-03-12 7:06 UTC (permalink / raw)
To: davem, sgoutham, netdev, linux-kernel
Cc: gakula, hkelam, sbhatta, edumazet, kuba, pabeni, Linu Cherian
Use wake_up API instead of wake_up_interruptible, since
wait_event_timeout API is used for waiting on command completion.
Fixes: 1463f382f58d ("octeontx2-af: Add support for CGX link management")
Signed-off-by: Linu Cherian <lcherian@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
---
drivers/net/ethernet/marvell/octeontx2/af/cgx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/cgx.c b/drivers/net/ethernet/marvell/octeontx2/af/cgx.c
index 6c70c8498690..3c0f55b3e48e 100644
--- a/drivers/net/ethernet/marvell/octeontx2/af/cgx.c
+++ b/drivers/net/ethernet/marvell/octeontx2/af/cgx.c
@@ -1338,7 +1338,7 @@ static irqreturn_t cgx_fwi_event_handler(int irq, void *data)
/* Release thread waiting for completion */
lmac->cmd_pend = false;
- wake_up_interruptible(&lmac->wq_cmd_cmplt);
+ wake_up(&lmac->wq_cmd_cmplt);
break;
case CGX_EVT_ASYNC:
if (cgx_event_is_linkevent(event))
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [net PATCH] octeontx2-af: Use matching wake_up API variant in CGX command interface
2024-03-12 7:06 [net PATCH] octeontx2-af: Use matching wake_up API variant in CGX command interface Linu Cherian
@ 2024-03-13 8:20 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-03-13 8:20 UTC (permalink / raw)
To: Linu Cherian
Cc: davem, sgoutham, netdev, linux-kernel, gakula, hkelam, sbhatta,
edumazet, kuba, pabeni
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:
On Tue, 12 Mar 2024 12:36:22 +0530 you wrote:
> Use wake_up API instead of wake_up_interruptible, since
> wait_event_timeout API is used for waiting on command completion.
>
> Fixes: 1463f382f58d ("octeontx2-af: Add support for CGX link management")
> Signed-off-by: Linu Cherian <lcherian@marvell.com>
> Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
> Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
>
> [...]
Here is the summary with links:
- [net] octeontx2-af: Use matching wake_up API variant in CGX command interface
https://git.kernel.org/netdev/net/c/e642921dfeed
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-13 8:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-12 7:06 [net PATCH] octeontx2-af: Use matching wake_up API variant in CGX command interface Linu Cherian
2024-03-13 8:20 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox