From: Tom Rini Date: Sun, 13 Aug 2017 20:07:16 -0400 Subject: [U-Boot] [U-Boot, 1/1] bcm281xx: clock: avoid possible NULL dereference In-Reply-To: <20170730182716.8839-1-xypron.glpk@gmx.de> References: <20170730182716.8839-1-xypron.glpk@gmx.de> Message-ID: <20170814000716.GC20467@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:27:16PM +0200, xypron.glpk at gmx.de wrote: > It does not make sense first to dereference c and then > to check if it is NULL. > > The problem was indicated by cppcheck. > > Signed-off-by: Heinrich Schuchardt 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: