diff options
| author | Tobin C. Harding <me@tobin.cc> | 2017-04-10 13:15:49 +1000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-11 16:05:50 +0200 |
| commit | 9ff19a6e35ab460c07dc40c563b57b0ad866e2e9 (patch) | |
| tree | b91780a6084ea0c2e6a2a653035a7a5d160db568 /tools/perf/scripts/python | |
| parent | staging: ks7010: fix multi-way decision (diff) | |
| download | linux-9ff19a6e35ab460c07dc40c563b57b0ad866e2e9.tar.gz linux-9ff19a6e35ab460c07dc40c563b57b0ad866e2e9.zip | |
staging: ks7010: move null check before dereference
Function parameter is cast to a local pointer which is then
dereferenced before it is checked to be non-NULL.
Move pointer null check to be before the pointer is dereferenced.
Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
