summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2019-08-19 16:29:01 +0200
committerVasily Gorbik <gor@linux.ibm.com>2019-08-29 15:34:57 +0200
commit8dec6bd4ef327f48eb790a48cba0e833109d4e41 (patch)
tree54e67b7e9afd55ebff581e93691ca4196042dc98 /tools/perf/scripts/python/exported-sql-viewer.py
parent759d4899d905c2a491d34987366421aebca359de (diff)
s390/pci: avoid using strncmp with hardcoded length
Command line option values passed to __setup callbacks are always null-terminated and "s390_iommu=" may only accept "strict" as value. So replace strncmp with strcmp. While at it also make s390_iommu_setup return 1, which means this command line option is handled by this callback. Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions