commit | ec0c0bb489727de0d4dca6a00be6970ab8a3b30a | [log] [tgz] |
---|---|---|
author | Thomas Richter <tmricht@linux.ibm.com> | Mon Oct 15 14:39:29 2018 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Fri Oct 19 08:18:16 2018 +0200 |
tree | 5908c5ad0061135bc5949cc6e09e375ec1e5613a | |
parent | b5130dc2224d1881f24224c0590c6d97f2168d6a [diff] |
s390/perf: Return error when debug_register fails Return an error when the function debug_register() fails allocating the debug handle. Also remove the registered debug handle when the initialization fails later on. Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>