Re: [PATCH] isa: Prevent NULL dereference in isa_bus driver callbacks

From: Linus Torvalds
Date: Wed Nov 08 2017 - 12:11:32 EST


On Wed, Nov 8, 2017 at 7:23 AM, William Breathitt Gray
<vilhelm.gray@xxxxxxxxx> wrote:
>
> This patch fixes a possible NULL pointer dereference if one of the
> isa_driver callbacks to attempted for an unsupported device. This error
> should not occur in practice since ISA devices are typically manually
> configured and loaded by the users, but we may as well prevent this
> error from popping up for the 0day testers.

Thanks. Acked-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

And it doesn't seem critical enough for me to take directly this late
in the 4.14 game, so I guess I'll get it from the usual channels.

Linus