summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-04-10 06:15:49 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-11 17:05:50 +0300
commit9ff19a6e35ab460c07dc40c563b57b0ad866e2e9 (patch)
treeb91780a6084ea0c2e6a2a653035a7a5d160db568 /scripts/const_structs.checkpatch
parentdc59ef2af26de72289b5ac576298445c676f2c5b (diff)
downloadlinux-9ff19a6e35ab460c07dc40c563b57b0ad866e2e9.tar.xz
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 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions