On Thu, Oct 10, 2013 at 08:04:06AM +0200, Jean Delvare wrote:
> The code in acpi_i2c_register_devices() assumes that all i2c adapters
> have a parent. This is not necessarily the case, for example the
> i2c-stub driver instantiate a virtual i2c adapter without a parent.
> Check for this to avoid a NULL pointer deference.
> 
> Signed-off-by: Jean Delvare <[email protected]>
> Cc: Wolfram Sang <[email protected]>
> Cc: Mika Westerberg <[email protected]>
> Cc: "Rafael J. Wysocki" <[email protected]>

Oh, I didn't know that. Thanks for the information.

Acked-by: Mika Westerberg <[email protected]>

Probably should go to stable as well.
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to