On Mon, 4 Feb 2019 at 17:38, Heinrich Schuchardt <xypron.g...@gmx.de> 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.g...@gmx.de> > --- > lib/tpm-v1.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot