Re: [PATCH] BUG: pinmux: forbid mux_usecount to be set at UINT_MAX

From: Linus Walleij
Date: Thu Mar 21 2013 - 14:28:24 EST

On Thu, Mar 21, 2013 at 12:21 PM, Richard Genoud
<richard.genoud@xxxxxxxxx> wrote:

> If pin_free is called on a pin already freed, mux_usecount is set to
> UINT_MAX which is really a bad idea.
> This will issue a warning, so that we can correct the code responsible
> for the double free.
> Signed-off-by: Richard Genoud <richard.genoud@xxxxxxxxx>

This version of the patch applied with Stephen's Reviewed-by
and BUG prefix stripped, it's applied to the fixes branch for
the v3.9 release candidates.

Linus Walleij
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at