aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorJay Fang <[email protected]>2020-09-15 09:22:49 +0800
committerMark Brown <[email protected]>2020-09-17 19:56:04 +0100
commit9599f341889c87e56bb944659c32490d05e2532f (patch)
tree22b2c9af738b65648bffe72d7be82a9aeb4519d2 /scripts/gcc-plugins
parent55ab8487e01d18466ddf596acc7a11e8c53b2812 (diff)
spi: dw-pci: free previously allocated IRQs if desc->setup() fails
Free previously allocated IRQs when return an error code of desc->setup() which is not always successful. And simplify the code by adding a goto label. Fixes: 8f5c285f3ef5 ("SPI: designware: pci: Switch over to MSI interrupts") CC: Felipe Balbi <[email protected]> Signed-off-by: Jay Fang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions