diff options
-rw-r--r-- | drivers/edac/thunderx_edac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/edac/thunderx_edac.c b/drivers/edac/thunderx_edac.c index c009d94f40c5..34be60fe6892 100644 --- a/drivers/edac/thunderx_edac.c +++ b/drivers/edac/thunderx_edac.c | |||
@@ -1884,7 +1884,7 @@ static irqreturn_t thunderx_l2c_threaded_isr(int irq, void *irq_id) | |||
1884 | default: | 1884 | default: |
1885 | dev_err(&l2c->pdev->dev, "Unsupported device: %04x\n", | 1885 | dev_err(&l2c->pdev->dev, "Unsupported device: %04x\n", |
1886 | l2c->pdev->device); | 1886 | l2c->pdev->device); |
1887 | return IRQ_NONE; | 1887 | goto err_free; |
1888 | } | 1888 | } |
1889 | 1889 | ||
1890 | while (CIRC_CNT(l2c->ring_head, l2c->ring_tail, | 1890 | while (CIRC_CNT(l2c->ring_head, l2c->ring_tail, |
@@ -1906,7 +1906,7 @@ static irqreturn_t thunderx_l2c_threaded_isr(int irq, void *irq_id) | |||
1906 | l2c->ring_tail++; | 1906 | l2c->ring_tail++; |
1907 | } | 1907 | } |
1908 | 1908 | ||
1909 | return IRQ_HANDLED; | 1909 | ret = IRQ_HANDLED; |
1910 | 1910 | ||
1911 | err_free: | 1911 | err_free: |
1912 | kfree(other); | 1912 | kfree(other); |