aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorGreg Kurz <[email protected]>2018-12-10 16:18:13 +0100
committerMichael Ellerman <[email protected]>2018-12-20 22:21:20 +1100
commit759bc01586535700fbb1aaf40dd727146e2e8b57 (patch)
treeb1ba3fd6fe680e874d15a7b0eb2e89973adf623c /scripts/gcc-plugins/cyc_complexity_plugin.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 <[email protected]> Acked-by: Frederic Barrat <[email protected]> Acked-by: Andrew Donnellan <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions