summaryrefslogtreecommitdiff
path: root/samples/kfifo
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2015-03-26 19:47:02 -0500
committerSteve French <smfrench@gmail.com>2015-04-01 00:01:47 -0500
commit8e3531060556bf5e09444acd2aa5c78bce9c9f70 (patch)
tree8fe7d652e19acef03d970005b791ad6ca7fcca5c /samples/kfifo
parentf3a31a2bbbfe22db0313a4e270c7ba91baa7b630 (diff)
Fix dereference before null check warning
null tcon is not likely in these paths in current code, but obviously it does clarify the code to check for null (if at all) before derefrencing rather than after. Reported by Coverity (CID 1042666) Signed-off-by: Steve French <smfrench@gmail.com> Acked-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com> Acked-by: Sachin Prabhu <sprabhu@redhat.com>
Diffstat (limited to 'samples/kfifo')
0 files changed, 0 insertions, 0 deletions