Re: [PATCH] net: phy: avoid undefined behavior in *_led_polarity_set()

From: patchwork-bot+netdevbpf
Date: Wed Dec 18 2024 - 20:58:41 EST


Hello:

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

On Tue, 17 Dec 2024 09:10:34 +0100 you wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> gcc runs into undefined behavior at the end of the three led_polarity_set()
> callback functions if it were called with a zero 'modes' argument and it
> just ends the function there without returning from it.
>
> This gets flagged by 'objtool' as a function that continues on
> to the next one:
>
> [...]

Here is the summary with links:
- net: phy: avoid undefined behavior in *_led_polarity_set()
https://git.kernel.org/netdev/net/c/cff865c70071

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