From: Tom Rini Date: Sun, 13 Aug 2017 20:07:25 -0400 Subject: [U-Boot] [U-Boot, 1/1] arm: mvebu: avoid possible NULL dereference In-Reply-To: <20170730184043.9467-1-xypron.glpk@gmx.de> References: <20170730184043.9467-1-xypron.glpk@gmx.de> Message-ID: <20170814000725.GE20467@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 Sun, Jul 30, 2017 at 08:40:43PM +0200, xypron.glpk at gmx.de wrote: > It does not make sense to check if info is NULL after > dereferencing it. > > The problem was indicated by cppcheck. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Stefan Roese 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: