diff options
author | 2013-10-30 20:46:55 +0100 | |
---|---|---|
committer | 2014-01-06 14:37:23 +0100 | |
commit | 747d35bd9bb4ae6bd74b19baa5bbe32f3e0cee11 (patch) | |
tree | 688429e581a2d74cab3ffce355030b6885c6accf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge to v3.13-rc7 for prerequisite changes in the Xen code for TPM (diff) | |
download | linux-dev-747d35bd9bb4ae6bd74b19baa5bbe32f3e0cee11.tar.xz linux-dev-747d35bd9bb4ae6bd74b19baa5bbe32f3e0cee11.zip |
tpm/tpm_ppi: Do not compare strcmp(a,b) == -1
Depending on the implementation strcmp might return the difference between
two strings not only -1,0,1 consequently
if (strcmp (a,b) == -1)
might lead to taking the wrong branch
-> compare with < 0 instead,
which in any case is more canonical.
Cc: stable@vger.kernel.org
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions