From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 19 Apr 2017 09:04:13 -0400 Subject: [U-Boot] [U-Boot, 1/1] fsl/sata: correctly identify failed malloc In-Reply-To: <20170415133153.26062-1-xypron.glpk@gmx.de> References: <20170415133153.26062-1-xypron.glpk@gmx.de> Message-ID: <20170419130413.GE19487@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Tom Rini 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: