Re: [PATCH v2] nfc: pn533: Add poll mod list filling check

From: patchwork-bot+netdevbpf
Date: Thu Aug 29 2024 - 06:31:08 EST


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Tue, 27 Aug 2024 11:48:22 +0300 you wrote:
> In case of im_protocols value is 1 and tm_protocols value is 0 this
> combination successfully passes the check
> 'if (!im_protocols && !tm_protocols)' in the nfc_start_poll().
> But then after pn533_poll_create_mod_list() call in pn533_start_poll()
> poll mod list will remain empty and dev->poll_mod_count will remain 0
> which lead to division by zero.
>
> [...]

Here is the summary with links:
- [v2] nfc: pn533: Add poll mod list filling check
https://git.kernel.org/netdev/net/c/febccb39255f

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