summaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2014-09-18 16:33:27 +0200
committerTero Kristo <t-kristo@ti.com>2014-09-29 11:51:13 +0300
commit319f1276f9a392526d2f40ecd76c1c829d0cf5fa (patch)
tree00c08e28d1cf6f9653e20b79c0107b0b126caca3 /scripts/coccinelle
parent73b5d5f711f35617ff701bd88e887d3a1187e82b (diff)
downloadtalos-obmc-linux-319f1276f9a392526d2f40ecd76c1c829d0cf5fa.tar.gz
talos-obmc-linux-319f1276f9a392526d2f40ecd76c1c829d0cf5fa.zip
clk: ti: consider the fact that of_clk_get() might return an error
I "forgot" to update the dtb and the kernel crashed: |Unable to handle kernel NULL pointer dereference at virtual address 0000002e |PC is at __clk_get_flags+0x4/0xc |LR is at ti_dt_clockdomains_setup+0x70/0xe8 because I did not have the clock nodes. of_clk_get() returns an error pointer which is not checked here. Acked-by: Nishanth Menon <nm@ti.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'scripts/coccinelle')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud