diff options
author | 2023-05-28 20:34:37 +0800 | |
---|---|---|
committer | 2023-05-30 13:47:20 +0200 | |
commit | a5961bed5429cf1134d7f539b4ed60317012f84d (patch) | |
tree | 4294235f94af8a9659a85c88316065b8f6f7ed26 /tools/perf/scripts/python | |
parent | pinctrl: Switch i2c drivers back to use .probe() (diff) | |
download | wireguard-linux-a5961bed5429cf1134d7f539b4ed60317012f84d.tar.xz wireguard-linux-a5961bed5429cf1134d7f539b4ed60317012f84d.zip |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions