WMI: properly cleanup devices to avoid crashes
We need to remove devices that we destroy from the list, otherwise we'll crash if there are more than one "_WDG" methods in DSDT. This fixes https://bugzilla.kernel.org/show_bug.cgi?id=32052Tested-by: NIlya Tumaykin <librarian_rus@yahoo.com> Cc: stable@kernel.org Signed-off-by: NDmitry Torokhov <dtor@mail.ru> Acked-by: NCarlos Corbacho <carlos@strangeworlds.co.uk> Signed-off-by: NMatthew Garrett <mjg@redhat.com>
Showing
想要评论请 注册 或 登录