Re: [PATCH net-next] net: dsa: realtek: rtl8365mb: define masks using BIT() and GENMASK()
From: patchwork-bot+netdevbpf
Date: Mon Oct 05 2026 - 20:20:39 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Fri, 02 Oct 2026 11:14:57 -0300 you wrote:
> Refactor register bitmask definitions to use the standard BIT() and
> GENMASK() macros instead of hardcoded hexadecimal values. This improves
> code readability, reducing the chance of errors such as unintentional
> gaps or overlaps.
>
> Introduce RTL8365MB_PORT_MASK as an alias for GENMASK(10, 0) to replace
> the repetitive 0x07FF values used across various port-related bitfields.
>
> [...]
Here is the summary with links:
- [net-next] net: dsa: realtek: rtl8365mb: define masks using BIT() and GENMASK()
https://git.kernel.org/netdev/net-next/c/9b84b36a527c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html