Re: [PATCH 1/1] pinctrl: fix pinmux_check_ops error checking

From: Stephen Warren
Date: Fri Apr 06 2012 - 11:32:14 EST


On 04/06/2012 06:18 AM, Dong Aisheng wrote:
> From: Dong Aisheng <dong.aisheng@xxxxxxxxxx>
>
> Do not use get_functions_count before checking.
>
> Signed-off-by: Dong Aisheng <dong.aisheng@xxxxxxxxxx>

Acked-by: Stephen Warren <swarren@xxxxxxxxxxxxx>

IIRC, Viresh added some other get_*_count() functions in the same patch.
Do we need any more fixes similar to the this for those too?
--
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/