Re: [PATCH] Tty: serial - Fix possible NULL derefrence.

From: Greg Kroah-Hartman
Date: Sat Feb 18 2017 - 08:09:17 EST


On Sat, Feb 18, 2017 at 11:25:19AM +0100, Maarten Brock wrote:
> Hello Greg,
>
> Does that also mean that this isn't possible in the sc16is7xx.c driver in
> sc16is7xx_spi_probe() line 1358 and sc16is7xx_i2c_probe() line 1419 ?
>
> If so, should these checks be removed?

Probably.