https://bugzilla.kernel.org/show_bug.cgi?id=101461 --- Comment #4 from H.J. Lu <hjl.tools@xxxxxxxxx> --- There are static void hidinput_cleanup_battery(struct hid_device *dev) { if (!dev->battery) return; power_supply_unregister(dev->battery); kfree(dev->battery->desc->name); kfree(dev->battery->desc); dev->battery = NULL; } Is it safe to access dev->battery->desc->name after power_supply_unregister? -- You are receiving this mail because: You are the assignee for the bug. -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html