linux/drivers/char/tpm
Peter Huewe 747d35bd9b 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>
2014-01-06 14:37:23 +01:00
..
Kconfig tpm: use tabs instead of whitespaces in Kconfig 2013-10-22 19:43:12 +02:00
Makefile tpm: Add support for Atmel I2C TPMs 2013-10-22 19:43:07 +02:00
tpm_acpi.c TPM: Switch to __packed instead of __attribute__((packed)) 2013-02-05 09:38:22 -06:00
tpm_atmel.c tpm atmel: Call request_region with the correct base 2013-10-22 19:42:26 +02:00
tpm_atmel.h tpmdd maintainers 2007-08-22 19:52:44 -07:00
tpm_eventlog.c tpm: Merge the tpm-bios module with tpm.o 2013-10-22 19:43:01 +02:00
tpm_eventlog.h drivers/char/tpm: Add securityfs support for event log 2012-08-22 16:22:47 -05:00
tpm_i2c_atmel.c tpm: Add support for Atmel I2C TPMs 2013-10-22 19:43:07 +02:00
tpm_i2c_infineon.c tpm: Remove tpm_show_caps_1_2 2013-10-22 19:42:41 +02:00
tpm_i2c_nuvoton.c tpm: Add support for the Nuvoton NPCT501 I2C TPM 2013-10-22 19:43:04 +02:00
tpm_i2c_stm_st33.c tpm: Remove tpm_show_caps_1_2 2013-10-22 19:42:41 +02:00
tpm_i2c_stm_st33.h tpm_i2c_stm_st33: fix oops when i2c client is unavailable 2013-02-05 09:38:24 -06:00
tpm_ibmvtpm.c tpm: Remove tpm_show_caps_1_2 2013-10-22 19:42:41 +02:00
tpm_ibmvtpm.h drivers/char/tpm: remove tasklet and cleanup 2012-11-01 15:23:14 -05:00
tpm_infineon.c Char/Misc driver merge for 3.8-rc1 2012-12-11 13:56:38 -08:00
tpm_nsc.c tpm: Fix cancellation of TPM commands (polling mode) 2013-02-05 09:38:24 -06:00
tpm_of.c drivers/char/tpm: Add securityfs support for event log 2012-08-22 16:22:47 -05:00
tpm_ppi.c tpm/tpm_ppi: Do not compare strcmp(a,b) == -1 2014-01-06 14:37:23 +01:00
tpm_tis.c tpm: Remove tpm_show_caps_1_2 2013-10-22 19:42:41 +02:00
tpm-interface.c tpm: Rename tpm.c to tpm-interface.c 2013-10-22 19:42:51 +02:00
tpm.h tpm: Remove tpm_show_caps_1_2 2013-10-22 19:42:41 +02:00
xen-tpmfront.c Merge branch 'for-linus2' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2013-11-21 19:46:00 -08:00