]> Git Repo - u-boot.git/commit
fsl/sata: correctly identify failed malloc
author[email protected] <[email protected]>
Sat, 15 Apr 2017 13:31:53 +0000 (15:31 +0200)
committerTom Rini <[email protected]>
Tue, 18 Apr 2017 14:29:24 +0000 (10:29 -0400)
commit7a931b958e4f942b16d3f5d31dc4c0982fa186c8
treede04bc52d19a3ef1fc7858d73b91312fae1381d1
parent0e0de24b07b8314ea0cc247a89b722c2230e4b0a
fsl/sata: correctly identify failed malloc

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 <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
drivers/block/fsl_sata.c
This page took 0.032327 seconds and 4 git commands to generate.