[ Upstream commit e2e6a217a84d09785848a82599729c9a41566e3a ]
Because of the possible failure of devm_kzalloc(), name might be NULL and
will cause null pointer dereference later.
Therefore, it might be better to check it and directly return -ENOMEM.
Fixes:
|
||
---|---|---|
.. | ||
clk-core.c | ||
clk-core.h | ||
clk-mpfs-ccc.c | ||
clk-mpfs.c | ||
clk-pic32mzda.c | ||
Kconfig | ||
Makefile |