summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2018-12-10 18:18:13 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-12-20 14:21:20 +0300
commit759bc01586535700fbb1aaf40dd727146e2e8b57 (patch)
treeb1ba3fd6fe680e874d15a7b0eb2e89973adf623c /tools/perf/scripts/python/exported-sql-viewer.py
parent3cfb9ebe906b51f2942b1e251009bb251efd2ba6 (diff)
downloadlinux-759bc01586535700fbb1aaf40dd727146e2e8b57.tar.xz
ocxl: Clarify error path in setup_xsl_irq()
Implementing rollback with goto and labels is a common practice that leads to prettier and more maintainable code. FWIW, this design pattern is already being used in alloc_link() a few lines below in this file. Do the same in setup_xsl_irq(). Signed-off-by: Greg Kurz <groug@kaod.org> Acked-by: Frederic Barrat <fbarrat@linux.ibm.com> Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions