qemu-patch-raspberry4/hw/tpm
Liam Merwick cd38cc519b tpm_tis: convert tpm_tis_show_buffer() to use trace event
cppcheck reports:

[hw/tpm/tpm_tis.c:113]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'

Rather than just converting the format specifier to use '%u", the
tpm_tis_show_buffer() function is converted to use trace points and
the two debug callers use the trace event infrastructure so that it's
available in production cases also and not just when DEBUG_TIS is enabled.

Signed-off-by: Liam Merwick <liam.merwick@oracle.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-02-24 14:46:14 -05:00
..
Makefile.objs tpm: allocate/map buffer for TPM Physical Presence interface 2019-01-17 21:10:57 -05:00
tpm_crb.c tpm: clear RAM when "memory overwrite" requested 2019-01-17 21:10:57 -05:00
tpm_emulator.c tpm: Zero-init structure to avoid uninitialized variables in valgrind log 2018-10-30 17:34:22 -04:00
tpm_int.h Clean up includes 2018-02-09 05:05:11 +01:00
tpm_ioctl.h Clean up includes 2018-02-09 05:05:11 +01:00
tpm_passthrough.c Merge tpm 2018/03/07 2018-03-08 12:56:39 +00:00
tpm_ppi.c tpm: clear RAM when "memory overwrite" requested 2019-01-17 21:10:57 -05:00
tpm_ppi.h tpm: clear RAM when "memory overwrite" requested 2019-01-17 21:10:57 -05:00
tpm_tis.c tpm_tis: convert tpm_tis_show_buffer() to use trace event 2019-02-24 14:46:14 -05:00
tpm_util.c tpm: convert tpm_util.c to use trace-events 2018-03-06 13:00:41 -05:00
tpm_util.h tpm: wrap stX_be_p in tpm_cmd_set_XYZ functions 2018-02-03 09:01:55 -05:00
trace-events tpm_tis: convert tpm_tis_show_buffer() to use trace event 2019-02-24 14:46:14 -05:00