If the allocation fails then we dereference the NULL in the error path.
Just return directly.
Fixes:
|
||
|---|---|---|
| .. | ||
| clk-icst.c | ||
| clk-icst.h | ||
| clk-impd1.c | ||
| clk-integrator.c | ||
| clk-realview.c | ||
| clk-sp810.c | ||
| clk-vexpress-osc.c | ||
| clk-vexpress.c | ||
| Makefile | ||
If the allocation fails then we dereference the NULL in the error path.
Just return directly.
Fixes:
|
||
|---|---|---|
| .. | ||
| clk-icst.c | ||
| clk-icst.h | ||
| clk-impd1.c | ||
| clk-integrator.c | ||
| clk-realview.c | ||
| clk-sp810.c | ||
| clk-vexpress-osc.c | ||
| clk-vexpress.c | ||
| Makefile | ||