diff options
author | Namhyung Kim <namhyung@kernel.org> | 2017-06-08 09:31:06 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-06-08 20:39:13 +0200 |
commit | 8ba29adf9a7cdff3c7283d5fc0dcf5e777d3b40f (patch) | |
tree | 8dc403b78aff477be820b9222d103ac1f37d0249 /drivers/scsi/sym53c416.c | |
parent | perf tools: Decompress kernel module when reading DSO data (diff) | |
download | linux-8ba29adf9a7cdff3c7283d5fc0dcf5e777d3b40f.tar.xz linux-8ba29adf9a7cdff3c7283d5fc0dcf5e777d3b40f.zip |
perf tools: Consolidate error path in __open_dso()
On failure, it should free the 'name', so clean up the error path using
goto.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Suggested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Wang Nan <wangnan0@huawei.com>
Cc: kernel-team@lge.com
Link: http://lkml.kernel.org/r/20170608073109.30699-7-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers/scsi/sym53c416.c')
0 files changed, 0 insertions, 0 deletions