Re: [PATCH] net/qla3xxx: Fix a test in ql_reset_work()

From: patchwork-bot+netdevbpf
Date: Tue May 17 2022 - 20:40:27 EST


Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Sun, 15 May 2022 20:07:02 +0200 you wrote:
> test_bit() tests if one bit is set or not.
> Here the logic seems to check of bit QL_RESET_PER_SCSI (i.e. 4) OR bit
> QL_RESET_START (i.e. 3) is set.
>
> In fact, it checks if bit 7 (4 | 3 = 7) is set, that is to say
> QL_ADAPTER_UP.
>
> [...]

Here is the summary with links:
- net/qla3xxx: Fix a test in ql_reset_work()
https://git.kernel.org/netdev/net/c/5361448e45fa

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