Re: [U-Boot] [PATCH 20/25] tpm: Check that parse_byte_string() has data to parse

2015-08-11 Thread christophe.ricard
Hi Simon, Acked-by: Christophe Ricard christophe-h.ric...@st.com Best Regards Christophe On 11/08/2015 16:48, Simon Glass wrote: Rather then crashing when there is no data, print an error. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_tpm.c | 2 ++ 1 file changed, 2

[U-Boot] [PATCH 20/25] tpm: Check that parse_byte_string() has data to parse

2015-08-11 Thread Simon Glass
Rather then crashing when there is no data, print an error. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_tpm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/cmd_tpm.c b/common/cmd_tpm.c index f48ab04..2783895 100644 --- a/common/cmd_tpm.c +++ b/common/cmd_tpm.c @@