On 11/25/2014 05:21 PM, Arianna Avanzini wrote: > Some RS232 adapters handled by this driver are hotpluggable. The function > serial8250_console_setup() is called during device init and is defined with > the __init macro. In case the driver is built-in, hotplugging the device after > the initialization phase has been completed (and the related memory has been > freed) results in a kernel crash. > This commit fixes the issue by removing __init from the function definition. Reviewed-by: Peter Hurley <peter@xxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html