Re: [Qemu-devel] [PATCH 2/2] tpm: wrap stX_be_p in tpm_cmd_set_XYZ functions

2018-02-02 Thread Marc-Andre Lureau
Hi On Fri, Feb 2, 2018 at 12:23 AM, Stefan Berger wrote: > Wrap the calls to stl_be_p and stw_be_p in tpm_cmd_set_XYZ functions > that are similar to existing getters. why not, Reviewed-by: Marc-André Lureau > > Signed-off-by: Stefan Berger > --- > hw/tpm/tpm_util.c | 6 +++--- > hw/tpm/t

[Qemu-devel] [PATCH 2/2] tpm: wrap stX_be_p in tpm_cmd_set_XYZ functions

2018-02-01 Thread Stefan Berger
Wrap the calls to stl_be_p and stw_be_p in tpm_cmd_set_XYZ functions that are similar to existing getters. Signed-off-by: Stefan Berger --- hw/tpm/tpm_util.c | 6 +++--- hw/tpm/tpm_util.h | 15 +++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/hw/tpm/tpm_util.c b/h