From: Tom Rini Date: Sat, 15 Apr 2017 12:12:30 -0400 Subject: [U-Boot] [PATCH 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: <20170415161230.GV19897@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, Heinrich Schuchardt 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 -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: