diff options
author | Wells Lu <wellslutw@gmail.com> | 2023-05-28 15:34:37 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-05-30 14:47:20 +0300 |
commit | a5961bed5429cf1134d7f539b4ed60317012f84d (patch) | |
tree | 4294235f94af8a9659a85c88316065b8f6f7ed26 /drivers/pinctrl/tegra/pinctrl-tegra.c | |
parent | d8572531736f2182b5587eab1b32a883be05b4e0 (diff) | |
download | linux-a5961bed5429cf1134d7f539b4ed60317012f84d.tar.xz |
pinctrl: sunplus: Add check for kmalloc
Fix Smatch static checker warning:
potential null dereference 'configs'. (kmalloc returns null)
Fixes: aa74c44be19c ("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>
Diffstat (limited to 'drivers/pinctrl/tegra/pinctrl-tegra.c')
0 files changed, 0 insertions, 0 deletions