summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorCai Li <cai.li@spreadtrum.com>2017-11-21 17:24:38 +0800
committerStephen Boyd <sboyd@codeaurora.org>2017-12-05 15:28:51 -0800
commit975b820b6836b6b6c42fb84cd2e772e2b41bca67 (patch)
treebe5a439036e60b2b6a66620ba34c2e35d7a223d9 /certs
parent588fb54b0cc5be5fd2e12bb04810534ffc3d49cc (diff)
downloadlinux-975b820b6836b6b6c42fb84cd2e772e2b41bca67.tar.bz2
clk: fix a panic error caused by accessing NULL pointer
In some cases the clock parent would be set NULL when doing re-parent, it will cause a NULL pointer accessing if clk_set trace event is enabled. This patch sets the parent as "none" if the input parameter is NULL. Fixes: dfc202ead312 (clk: Add tracepoints for hardware operations) Signed-off-by: Cai Li <cai.li@spreadtrum.com> Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions