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 <jdelvare@xxxxxxx> > Cc: Wolfram Sang <wsa@xxxxxxxxxxxxx> > Cc: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> > Cc: "Rafael J. Wysocki" <rafael.j.wysocki@xxxxxxxxx> Oh, I didn't know that. Thanks for the information. Acked-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html