Re: [PATCH 1/1] clk: Fix incorrect return type in clk.c

From: Pankaj Jangra
Date: Wed Mar 13 2013 - 13:09:23 EST


Hi.

On Wed, Mar 13, 2013 at 3:17 PM, Sachin Kamat <sachin.kamat@xxxxxxxxxx> 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 <sachin.kamat@xxxxxxxxxx>
> ---
> drivers/clk/clk.c | 2 +-

Looks good to me.
Reviewed-by: Pankaj Jangra <jangra.pankaj9@xxxxxxxxx>

Regards,
Pankaj Jangra
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/