Re: [PATCH net-next v2] net: usb: pegasus: replace simple_strtoul with kstrtouint

From: patchwork-bot+netdevbpf

Date: Wed May 13 2026 - 21:12:50 EST


Hello:

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

On Sat, 9 May 2026 15:21:48 +0530 you wrote:
> simple_strtoul() is deprecated as it has no error checking. Replace it
> with kstrtouint() which returns an error code on invalid input, and add
> appropriate error handling.
>
> Also add a NULL check before parsing flags, since strsep() can set id
> to NULL if the input has fewer tokens than expected.
>
> [...]

Here is the summary with links:
- [net-next,v2] net: usb: pegasus: replace simple_strtoul with kstrtouint
https://git.kernel.org/netdev/net-next/c/1f8fd0fe5641

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