mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
73f8ce7f96
Fix Smatch static checker warning:
potential null dereference 'configs'. (kmalloc returns null)
Changes in v2:
1. Add free allocated memory before returned -ENOMEM.
2. Add call of_node_put() before returned -ENOMEM.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
sppctl_sp7021.c | ||
sppctl.c | ||
sppctl.h |