Messages in this thread | | | Subject | Re: [PATCH] net/qla3xxx: Fix a test in ql_reset_work() | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 18 May 2022 00:40:11 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by Jakub Kicinski <kuba@kernel.org>:
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
| |