summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2017-06-08 09:31:06 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-06-08 20:39:13 +0200
commit8ba29adf9a7cdff3c7283d5fc0dcf5e777d3b40f (patch)
tree8dc403b78aff477be820b9222d103ac1f37d0249 /drivers/pci
parentperf tools: Decompress kernel module when reading DSO data (diff)
downloadlinux-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/pci')
0 files changed, 0 insertions, 0 deletions