On Mon, Apr 25, 2016 at 3:01 PM, <ville.syrjala@xxxxxxxxxxxxxxx> wrote: > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > Calling gpiod_get() from a module and then unloading the module leads to an > oops due to acpi_can_fallback_to_crs() storing the pointer to the passed > 'con_id' string onto acpi_crs_lookup_list. The next guy to come along will then > try to access the string but the memory may now be gone with the module. > Make a copy of the passed string instead, and store the copy on the list. Patch applied with the ACKs and queued for fixes. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html