|
@@ -1884,7 +1884,7 @@ static irqreturn_t thunderx_l2c_threaded_isr(int irq, void *irq_id)
|
|
default:
|
|
default:
|
|
dev_err(&l2c->pdev->dev, "Unsupported device: %04x\n",
|
|
dev_err(&l2c->pdev->dev, "Unsupported device: %04x\n",
|
|
l2c->pdev->device);
|
|
l2c->pdev->device);
|
|
- return IRQ_NONE;
|
|
|
|
|
|
+ goto err_free;
|
|
}
|
|
}
|
|
|
|
|
|
while (CIRC_CNT(l2c->ring_head, l2c->ring_tail,
|
|
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)
|
|
l2c->ring_tail++;
|
|
l2c->ring_tail++;
|
|
}
|
|
}
|
|
|
|
|
|
- return IRQ_HANDLED;
|
|
|
|
|
|
+ ret = IRQ_HANDLED;
|
|
|
|
|
|
err_free:
|
|
err_free:
|
|
kfree(other);
|
|
kfree(other);
|