summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-12-19 19:30:07 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-20 18:32:13 +0300
commitc58eef061dda7d843dcc0ad6fea7e597d4c377c0 (patch)
tree6107ccddfd3b8a6246207da6179fc833a1491226 /tools/perf/scripts/python/export-to-postgresql.py
parent012c5e8d819ccb048c86df213f7d57a3d4043a2c (diff)
downloadlinux-c58eef061dda7d843dcc0ad6fea7e597d4c377c0.tar.xz
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 <colin.king@canonical.com> Cc: stable <stable@vger.kernel.org> Acked-by: Ajay Singh <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions