aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLee Jones <[email protected]>2021-01-28 08:52:33 +0000
committerMika Westerberg <[email protected]>2021-01-28 12:33:06 +0300
commitf679a41fafc8cdc5c7879aa4726a28439fca7656 (patch)
tree47c9935da6206b6eb47ab48079ba58dea81aa84d /tools/perf/scripts/python
parent3da88be249973f7b74e7b24ed559e6abc2fc5af4 (diff)
thunderbolt: dma_port: Check 'dma_port_flash_write_block()'s return value
... and take the error path if it fails. Fixes the following W=1 kernel build warning(s): drivers/thunderbolt/dma_port.c: In function ‘dma_port_flash_write_block’: drivers/thunderbolt/dma_port.c:331:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Andreas Noever <[email protected]> Cc: Michael Jamet <[email protected]> Cc: Yehezkel Bernat <[email protected]> Cc: [email protected] Signed-off-by: Lee Jones <[email protected]> Signed-off-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions