aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDaniel Scheller <[email protected]>2017-08-12 07:55:56 -0400
committerMauro Carvalho Chehab <[email protected]>2017-08-20 07:06:51 -0400
commitf597f2a8fce27b067ed5ad58314bdfbb219d2ffe (patch)
tree46bc3133c642f7ffbf68afa091e8f7aed54693c1 /tools/perf/scripts/python/stackcollapse.py
parente89e02a8654f3510114c72394753ab4977b754b3 (diff)
media: ddbridge: only register frontends in fe2 if fe is not NULL
Smatch reported: drivers/media/pci/ddbridge/ddbridge-core.c:1602 dvb_input_attach() error: we previously assumed 'dvb->fe' could be null (see line 1595) dvb->fe2 will ever only be populated when dvb->fe is set. So only handle registration of dvb->fe2 when dvb->fe got set beforehand by moving the registration into the "if (dvb->fe)" conditional. 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions