Messages in this thread | | | Date | Thu, 21 Mar 2013 19:28:19 +0100 | Subject | Re: [PATCH] BUG: pinmux: forbid mux_usecount to be set at UINT_MAX | From | Linus Walleij <> |
| |
On Thu, Mar 21, 2013 at 12:21 PM, Richard Genoud <richard.genoud@gmail.com> 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@gmail.com>
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.
Yours, Linus Walleij
| |