Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755267AbcKBCZ4 (ORCPT ); Tue, 1 Nov 2016 22:25:56 -0400 Received: from mail-yw0-f193.google.com ([209.85.161.193]:35155 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754605AbcKBCZy (ORCPT ); Tue, 1 Nov 2016 22:25:54 -0400 MIME-Version: 1.0 In-Reply-To: <20161029135839.6388-1-christophe.jaillet@wanadoo.fr> References: <20161029135839.6388-1-christophe.jaillet@wanadoo.fr> From: Viresh Kumar Date: Wed, 2 Nov 2016 07:55:53 +0530 X-Google-Sender-Auth: _Py_Mdch_1yLNr3OLBEEp2_NC3s Message-ID: Subject: Re: [PATCH] ARM: spear: Fix error handling To: Christophe JAILLET Cc: vireshk@kernel.org, Shiraz HASHIM , linux@armlinux.org.uk, "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , kernel-janitors@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 400 Lines: 11 On Sat, Oct 29, 2016 at 7:28 PM, 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 > --- > arch/arm/mach-spear/time.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Viresh Kumar