[U-Boot] [U-Boot,1/1] tpm: simplify: tpm_set_global_lock()

Tom Rini trini at konsulko.com
Wed Feb 20 01:56:53 UTC 2019


On Tue, Feb 05, 2019 at 01:38:41AM +0100, Heinrich Schuchardt wrote:

> When in pack_byte_string() memcpy() is called for size 0 the source buffer
> address has no relevance. So we can use NULL here.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190219/6c20a27e/attachment.sig>


More information about the U-Boot mailing list