Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 853d9b18 authored by Levente Kurusa's avatar Levente Kurusa Committed by Borislav Petkov
Browse files

x86, mce: Call put_device on device_register failure



This patch adds a call to put_device() when the device_register() call
has failed. This is required so that the last reference to the device is
given up.

Signed-off-by: default avatarLevente Kurusa <levex@linux.com>
Link: http://lkml.kernel.org/r/5298F900.9000208@linux.com


Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
parent dc1ccc48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment