
13 Jun
2017
13 Jun
'17
12:43 a.m.
On Wed, Jun 07, 2017 at 10:28:47AM -0600, Simon Glass wrote:
Assigning a variable to itself is not necessary. Drop this and also add a check for malloc() failure.
Signed-off-by: Simon Glass sjg@chromium.org Reported-by: Coverity (CID: 161418) Fixes: 111bcc4 (rockchip: mkimage: pad the header to 8-bytes (using a 'nop') for RK3399)
Reviewed-by: Tom Rini trini@konsulko.com
--
Tom