diff options
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | 2017-04-15 15:31:53 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-18 10:29:24 -0400 |
commit | 7a931b958e4f942b16d3f5d31dc4c0982fa186c8 (patch) | |
tree | de04bc52d19a3ef1fc7858d73b91312fae1381d1 /cmd/misc.c | |
parent | 0e0de24b07b8314ea0cc247a89b722c2230e4b0a (diff) |
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 <xypron.glpk@gmx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd/misc.c')
0 files changed, 0 insertions, 0 deletions