b7ca75207e
[ Upstream commit ee9ef11bd2a59c2fefaa0959e5efcdf040d7c654 ]
Check clk for NULL before calling clk_enable_unlocked where clk
is dereferenced. There is such check in other implementations
of clk_enable.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes:
|
||
---|---|---|
.. | ||
boards | ||
clk.c | ||
cpu.c | ||
cs.c | ||
dev-enet.c | ||
dev-flash.c | ||
dev-hsspi.c | ||
dev-pcmcia.c | ||
dev-rng.c | ||
dev-spi.c | ||
dev-uart.c | ||
dev-usb-usbd.c | ||
dev-wdt.c | ||
early_printk.c | ||
gpio.c | ||
irq.c | ||
Kconfig | ||
Makefile | ||
nvram.c | ||
Platform | ||
prom.c | ||
reset.c | ||
setup.c | ||
timer.c |