Re: [PATCH v3 11/20] tpm: factor out tpm_startup function

2018-09-19 Thread Jarkko Sakkinen
On Tue, Sep 18, 2018 at 12:34:50PM +0300, Tomas Winkler wrote: > tpm manual startup is used only from within tpm1 or tpm2 > code, hence remove tpm_startup function from tpm-interface.c > and add two static functions implementations tpm1_startup > and tpm2_startup into to tpm1-cmd.c and tpm2-cmd.c

Re: [PATCH v3 11/20] tpm: factor out tpm_startup function

2018-09-19 Thread Jarkko Sakkinen
On Tue, Sep 18, 2018 at 12:34:50PM +0300, Tomas Winkler wrote: > tpm manual startup is used only from within tpm1 or tpm2 > code, hence remove tpm_startup function from tpm-interface.c > and add two static functions implementations tpm1_startup > and tpm2_startup into to tpm1-cmd.c and tpm2-cmd.c

[PATCH v3 11/20] tpm: factor out tpm_startup function

2018-09-18 Thread Tomas Winkler
tpm manual startup is used only from within tpm1 or tpm2 code, hence remove tpm_startup function from tpm-interface.c and add two static functions implementations tpm1_startup and tpm2_startup into to tpm1-cmd.c and tpm2-cmd.c respectively. Signed-off-by: Tomas Winkler --- V2-V3: Rebase

[PATCH v3 11/20] tpm: factor out tpm_startup function

2018-09-18 Thread Tomas Winkler
tpm manual startup is used only from within tpm1 or tpm2 code, hence remove tpm_startup function from tpm-interface.c and add two static functions implementations tpm1_startup and tpm2_startup into to tpm1-cmd.c and tpm2-cmd.c respectively. Signed-off-by: Tomas Winkler --- V2-V3: Rebase