Re: [PATCH 04/26] Input: synaptics-rmi4 - prevent oopses when irq arrives while the device is not bound

From: Linus Walleij
Date: Mon Nov 09 2015 - 08:28:15 EST


On Fri, Nov 6, 2015 at 12:37 AM, Andrew Duggan <aduggan@xxxxxxxxxxxxx> wrote:

> From: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
>
> If the device has been registered but is not populated, we should not
> process any incoming interrupt.
> Make sure the pointers we are following are valid.
>
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
> Tested-by: Andrew Duggan <aduggan@xxxxxxxxxxxxx>

Tested-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

This should just be squashed into the offending commit.

Yours,
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 http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/