aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorMartin Wilck <[email protected]>2017-11-27 23:47:35 +0100
committerMartin K. Petersen <[email protected]>2017-12-04 21:58:35 -0500
commit81df022b688d43d2a3667518b2f755d384397910 (patch)
tree94be75c5aef9b3260945238cbc25ad47bbc3bdbf /tools/perf/scripts/python/call-graph-from-sql.py
parentba69ead9e9e9bb3cec5faf03526c36764ac8942a (diff)
scsi: scsi_devinfo: cleanly zero-pad devinfo strings
Cleanly fill memory for "vendor" and "model" with 0-bytes for the "compatible" case rather than adding only a single 0 byte. This simplifies the devinfo code a a bit, and avoids mistakes in other places of the code (not in current upstream, but we had one such mistake in the SUSE kernel). [mkp: applied by hand and added braces] Signed-off-by: Martin Wilck <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions