aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJay Freyensee <[email protected]>2016-07-20 21:26:16 -0600
committerJens Axboe <[email protected]>2016-07-20 21:26:16 -0600
commitfa9a89fc6637958594f285c8466422105e86e28c (patch)
tree5a5a12753d91cafc099e9cfcf43816a89fddbdcc /tools/perf/scripts/python/export-to-postgresql.py
parentf9cc4472c963e64493261d834155974c48c0ff88 (diff)
nvme: initialize variable before logical OR'ing it
It is typically not good coding or secure coding practice to logical OR a variable without an initialization value first. Here on this line: integrity.flags |= BLK_INTEGRITY_DEVICE_CAPABLE; BLK_INTEGRITY_DEVICE_CAPABLE is being OR'ed to a member variable never set to an initial value. This patch fixes that. Signed-off-by: Jay Freyensee <[email protected]> Reviewed-by: Ming Lin <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions