aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2018-12-19 16:30:07 +0000
committerGreg Kroah-Hartman <[email protected]>2018-12-20 16:32:13 +0100
commitc58eef061dda7d843dcc0ad6fea7e597d4c377c0 (patch)
tree6107ccddfd3b8a6246207da6179fc833a1491226 /tools/perf/scripts/python/export-to-sqlite.py
parent012c5e8d819ccb048c86df213f7d57a3d4043a2c (diff)
staging: wilc1000: fix missing read_write setting when reading data
Currently the cmd.read_write setting is not initialized so it contains garbage from the stack. Fix this by setting it to 0 to indicate a read is required. Detected by CoverityScan, CID#1357925 ("Uninitialized scalar variable") Fixes: c5c77ba18ea6 ("staging: wilc1000: Add SDIO/SPI 802.11 driver") Signed-off-by: Colin Ian King <[email protected]> Cc: stable <[email protected]> Acked-by: Ajay Singh <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions