diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2018-04-26 18:42:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-14 17:48:59 +0300 |
commit | 085aa2de568493d7cde52126512d37260077811a (patch) | |
tree | 22235cd9fcfa90729a66da2c7538cec0f0d56ba7 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 13509860efcada3e57c16d5f2e60dda8cef6054c (diff) | |
download | linux-085aa2de568493d7cde52126512d37260077811a.tar.xz |
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 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions