Re: [PATCH 2/2 v2] Input: atmel_mxt_ts - fix double free of input device

From: Stephen Warren
Date: Wed Sep 10 2014 - 13:28:10 EST


On 09/10/2014 08:33 AM, nick.dyer@xxxxxxxxxxx wrote:
From: Stephen Warren <swarren@xxxxxxxxxxxxx>

[reworked after comments by Dmitry Torokhov. Move free of input device into
separate function. Only call in paths that require it.]
Signed-off-by: Nick Dyer <nick.dyer@xxxxxxxxxxx>

I re-tested this, and see no issues after inserting/removing the module a few times.
--
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/