Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752666AbcKHBTL (ORCPT ); Mon, 7 Nov 2016 20:19:11 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:36117 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752426AbcKHBTI (ORCPT ); Mon, 7 Nov 2016 20:19:08 -0500 Date: Mon, 7 Nov 2016 13:16:33 -0800 From: Olof Johansson To: Christophe JAILLET Cc: vireshk@kernel.org, shiraz.linux.kernel@gmail.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] ARM: spear: Fix error handling Message-ID: <20161107211633.GA2106@localhost> References: <20161029135839.6388-1-christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161029135839.6388-1-christophe.jaillet@wanadoo.fr> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 284 Lines: 10 On Sat, Oct 29, 2016 at 03:58:39PM +0200, Christophe JAILLET wrote: > 'clk_get_sys()' returns an error pointer in case of error, not NULL. So > test it with IS_ERR. > > Signed-off-by: Christophe JAILLET Applied to fixes-non-critical, thanks. -Olof