diff options
author | William Dean <[email protected]> | 2022-07-10 23:48:22 +0800 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2022-07-11 15:04:19 +0200 |
commit | acf50233fc979b566e3b87d329191dcd01e2a72c (patch) | |
tree | 22eac9b15e92f93221215acdd4f073845c5ec867 /scripts/bpf_doc.py | |
parent | c3b821e8e406d5650e587b7ac624ac24e9b780a8 (diff) |
pinctrl: sunplus: Add check for kcalloc
As the potential failure of the kcalloc(),
it should be better to check it in order to
avoid the dereference of the NULL pointer.
Fixes: aa74c44be19c8 ("pinctrl: Add driver for Sunplus SP7021")
Reported-by: Hacash Robot <[email protected]>
Signed-off-by: William Dean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions