Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933726Ab3CMRJV (ORCPT ); Wed, 13 Mar 2013 13:09:21 -0400 Received: from mail-la0-f42.google.com ([209.85.215.42]:57834 "EHLO mail-la0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755248Ab3CMRJU (ORCPT ); Wed, 13 Mar 2013 13:09:20 -0400 MIME-Version: 1.0 In-Reply-To: <1363168069-11331-1-git-send-email-sachin.kamat@linaro.org> References: <1363168069-11331-1-git-send-email-sachin.kamat@linaro.org> Date: Wed, 13 Mar 2013 22:39:18 +0530 Message-ID: Subject: Re: [PATCH 1/1] clk: Fix incorrect return type in clk.c From: Pankaj Jangra To: Sachin Kamat Cc: linux-arm-kernel@lists.infradead.org, mturquette@linaro.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 741 Lines: 22 Hi. On Wed, Mar 13, 2013 at 3:17 PM, Sachin Kamat wrote: > Return type of function clk_propagate_rate_change is a pointer. > But 0 was being returned. Change it to NULL. > Silences the following warning: > drivers/clk/clk.c:977:24: warning: Using plain integer as NULL pointer > > Signed-off-by: Sachin Kamat > --- > drivers/clk/clk.c | 2 +- Looks good to me. Reviewed-by: Pankaj Jangra Regards, Pankaj Jangra -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/