diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-02-03 23:37:36 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-02-04 08:03:49 +0100 |
commit | 73cb3106e883ac03cc4f15b20d525e6bde650526 (patch) | |
tree | 4a96b6b4ff47a6e694ef03d58b9494b1a7ca3d04 /scripts | |
parent | dt-bindings: clk: qcom: Fix self-validation, split, and clean cruft (diff) | |
download | linux-73cb3106e883ac03cc4f15b20d525e6bde650526.tar.xz linux-73cb3106e883ac03cc4f15b20d525e6bde650526.zip |
clk: ls1028a: fix a dereference of pointer 'parent' before a null check
Currently the pointer 'parent' is being dereferenced before it is
being null checked. Fix this by performing the null check before
it is dereferenced.
Addresses-Coverity: ("Dereference before null check")
Fixes: d37010a3c162 ("clk: ls1028a: Add clock driver for Display output interface")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lkml.kernel.org/r/20200203223736.99645-1-colin.king@canonical.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions