mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
pinctrl: sunplus: Add check for kmalloc
[ Upstream commita5961bed54] Fix Smatch static checker warning: potential null dereference 'configs'. (kmalloc returns null) Fixes:aa74c44be1("pinctrl: Add driver for Sunplus SP7021") Signed-off-by: Wells Lu <wellslutw@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/1685277277-12209-1-git-send-email-wellslutw@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
bc796f65cd
commit
019d4fd93a
1 changed files with 18 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue