diff options
| author | 2018-04-26 21:12:09 +0530 | |
|---|---|---|
| committer | 2018-05-14 16:48:59 +0200 | |
| commit | 085aa2de568493d7cde52126512d37260077811a (patch) | |
| tree | 22235cd9fcfa90729a66da2c7538cec0f0d56ba7 /include/linux/debugobjects.h | |
| parent | base: core: fix typo 'can by' to 'can be' (diff) | |
mm: memory_hotplug: use put_device() if device_register fail
if device_register() returned an error. Always use put_device()
to give up the initialized reference and release allocated memory.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
