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

From: Stephen Warren
Date: Thu Mar 21 2013 - 13:34:04 EST

On 03/21/2013 05:21 AM, Richard Genoud 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>
> ---
> Ok Stephen, your idea (and code) seems better.
> I signed-off it, but it's really yours...
> Feel free to transform my Signed-off-by in a Tested-by

In this situation, I think you'd often say:
Suggested-by: Stephen Warren <swarren@xxxxxxxxxx>

Reviewed-by: Stephen Warren <swarren@xxxxxxxxxx>
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