[PATCH] cmd: Fix a size parameter in test_readonly()

Tom Rini trini at konsulko.com
Wed Aug 9 03:39:57 CEST 2023


On Tue, Jul 25, 2023 at 09:50:26AM +0300, Dan Carpenter wrote:

> The parentheses are in the wrong place so this passes the number of
> bytes to write as "sizeof(index_0) != TPM_SUCCESS" when just
> "sizeof(index_0)" was intended.  (1 byte vs 4 bytes).
> 
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230808/60fa3555/attachment.sig>


More information about the U-Boot mailing list