aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorDaniel Scheller <[email protected]>2017-08-12 07:55:55 -0400
committerMauro Carvalho Chehab <[email protected]>2017-08-20 07:06:21 -0400
commite89e02a8654f3510114c72394753ab4977b754b3 (patch)
tree1000a195b7623f2fbd565af95951ef4bded07a87 /tools/perf/scripts/python/bin/stackcollapse-record
parent69716934c7c5fdaf057dcbdb75da75d067f10e60 (diff)
media: ddbridge: check pointers before dereferencing
Fixes two warnings reported by smatch: drivers/media/pci/ddbridge/ddbridge-core.c:240 ddb_redirect() warn: variable dereferenced before check 'idev' (see line 238) drivers/media/pci/ddbridge/ddbridge-core.c:240 ddb_redirect() warn: variable dereferenced before check 'pdev' (see line 238) Fixed by moving the existing checks up before accessing members. Cc: Ralph Metzler <[email protected]> Signed-off-by: Daniel Scheller <[email protected]> Tested-by: Richard Scobie <[email protected]> Tested-by: Jasmin Jessich <[email protected]> Tested-by: Dietmar Spingler <[email protected]> Tested-by: Manfred Knick <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions