aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaulo Miguel Almeida <[email protected]>2022-02-26 17:25:31 +1300
committerGreg Kroah-Hartman <[email protected]>2022-03-01 22:39:37 +0100
commitb497e06d2714b22200e0bad76111229c960debd5 (patch)
tree5610e1ec8b2eceed08f05cf9917d8e327c10d180 /tools/perf/scripts/python
parent095f746502740d76a086ab127e11b3c4dba78141 (diff)
staging: pi433: prevent uninitialized data from being printed out
local_buffer is not initialised before data is passed to spi_sync_transfer. In case spi* function fails then the dev_dbg statement after that can potentially print out uninitialised data this patch initialises local_buffer array. Signed-off-by: Paulo Miguel Almeida <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions