Something went wrong. Try again.
Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
misc: tsl2550: replace simple_strtoul to kstrtoul
The function simple_strtoul performs no error checking in scenarios where the input value overflows the intended output variable. We can replace the use of the simple_strtoul with the safer alternatives kstrtoul. Signed-off-by: Hongbo Li <lihongbo22@huawei.com> Link: https://lore.kernel.org/r/20240830080311.3545307-1-lihongbo22@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Author Hongbo Li Committer Greg Kroah-Hartman Date (Sep 3, 2024, 10:34 AM UTC) Commit
Copy SHA
Parent e807c406 e807c406a6b405518f420426665e2455f83ad8fc