Skip to content
Commit a5961bed authored by Wells Lu's avatar Wells Lu Committed by Linus Walleij
Browse files

pinctrl: sunplus: Add check for kmalloc



Fix Smatch static checker warning:
potential null dereference 'configs'. (kmalloc returns null)

Fixes: aa74c44b ("pinctrl: Add driver for Sunplus SP7021")
Signed-off-by: default avatarWells Lu <wellslutw@gmail.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/1685277277-12209-1-git-send-email-wellslutw@gmail.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent d8572531
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment