diff options
| author | Liam Merwick <liam.merwick@oracle.com> | 2019-02-15 13:35:19 +0000 |
|---|---|---|
| committer | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2019-02-24 14:46:14 -0500 |
| commit | cd38cc519b60bbe5dd8d85f6aaa72b2d7902930b (patch) | |
| tree | d2f280458b2d2173fff480d7944bffe5af8cd6ad /net/netmap.c | |
| parent | 37b55d67c0f001b20b7831db3f9f24f1d453e1de (diff) | |
| download | focaccia-qemu-cd38cc519b60bbe5dd8d85f6aaa72b2d7902930b.tar.gz focaccia-qemu-cd38cc519b60bbe5dd8d85f6aaa72b2d7902930b.zip | |
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>
Diffstat (limited to 'net/netmap.c')
0 files changed, 0 insertions, 0 deletions