[U-Boot] [U-Boot, 1/1] fsl/sata: correctly identify failed malloc

Tom Rini trini at konsulko.com
Wed Apr 19 13:04:13 UTC 2017


On Sat, Apr 15, 2017 at 03:31:53PM +0200, xypron.glpk at gmx.de wrote:

> After allocating sata->cmd_hdr_tbl_offset we have to check
> this variable and not variable sata.
> 
> The problem was indicated by cppcheck.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Reviewed-by: Tom Rini <trini at konsulko.com>

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: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170419/1187cea9/attachment.sig>


More information about the U-Boot mailing list