Thread (2 messages) flat view 2 messages, 2 authors, 2021-05-20

Re: [PATCH v2] net/qla3xxx: fix schedule while atomic in ql_sem_spinlock

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-05-20 22:50:12
Also in: lkml

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Thu, 20 May 2021 12:32:36 +0000 you wrote:
When calling the 'ql_sem_spinlock', the driver has already acquired the
spin lock, so the driver should not call 'ssleep' in atomic context.

This bug can be fixed by using 'mdelay' instead of 'ssleep'.

The KASAN's log reveals it:

[...]
Here is the summary with links:
  - [v2] net/qla3xxx: fix schedule while atomic in ql_sem_spinlock
    https://git.kernel.org/netdev/net/c/13a6f3153922

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help