summaryrefslogtreecommitdiffstats
path: root/drivers/misc/ocxl/afu_irq.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2018-12-10 16:18:13 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-12-20 22:21:20 +1100
commit759bc01586535700fbb1aaf40dd727146e2e8b57 (patch)
treeb1ba3fd6fe680e874d15a7b0eb2e89973adf623c /drivers/misc/ocxl/afu_irq.c
parent3cfb9ebe906b51f2942b1e251009bb251efd2ba6 (diff)
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 'drivers/misc/ocxl/afu_irq.c')
0 files changed, 0 insertions, 0 deletions