diff options
author | Levente Kurusa <levex@linux.com> | 2013-11-30 00:28:48 +0400 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2013-11-30 15:14:51 +0400 |
commit | 853d9b18f1e861d37e9b271742329f8c1176eabe (patch) | |
tree | 171fb589e32a47f2d71ace4c24b2cbe40064a222 /net/unix/af_unix.c | |
parent | dc1ccc48159d63eca5089e507c82c7d22ef60839 (diff) | |
download | linux-853d9b18f1e861d37e9b271742329f8c1176eabe.tar.xz |
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: Levente Kurusa <levex@linux.com>
Link: http://lkml.kernel.org/r/5298F900.9000208@linux.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions