diff options
author | Thomas Richter <tmricht@linux.ibm.com> | 2018-10-15 16:39:29 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-10-19 09:18:16 +0300 |
commit | ec0c0bb489727de0d4dca6a00be6970ab8a3b30a (patch) | |
tree | 5908c5ad0061135bc5949cc6e09e375ec1e5613a /drivers/s390 | |
parent | b5130dc2224d1881f24224c0590c6d97f2168d6a (diff) | |
download | linux-ec0c0bb489727de0d4dca6a00be6970ab8a3b30a.tar.xz |
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>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions