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

From: Mike Turquette
Date: Fri Mar 22 2013 - 15:19:20 EST


Quoting Pankaj Jangra (2013-03-13 10:09:18)
> 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>
>

Thanks for the fix. Taken into clk-next.

Regards,
Mike

> 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/