From: Ian Munsie Date: Wed, 4 Feb 2015 08:10:38 +0000 (+1100) Subject: cxl: Add missing return statement after handling AFU errror X-Git-Tag: v4.0-rc1~115^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a6130ed253a931d2169c26ab0958d81b0dce4d6e;p=platform%2Fkernel%2Flinux-exynos.git cxl: Add missing return statement after handling AFU errror We were missing a return statement in the PSL interrupt handler in the case of an AFU error, which would trigger an "Unhandled CXL PSL IRQ" warning. We do actually handle these type of errors (by notifying userspace), so add the missing return IRQ_HANDLED so we don't throw unecessary warnings. Signed-off-by: Ian Munsie Signed-off-by: Michael Ellerman --- diff --git a/drivers/misc/cxl/irq.c b/drivers/misc/cxl/irq.c index f0836472..c8929c5 100644 --- a/drivers/misc/cxl/irq.c +++ b/drivers/misc/cxl/irq.c @@ -170,6 +170,7 @@ static irqreturn_t cxl_irq(int irq, void *data, struct cxl_irq_info *irq_info) } cxl_ack_irq(ctx, CXL_PSL_TFC_An_A, 0); + return IRQ_HANDLED; } if (dsisr & CXL_PSL_DSISR_An_OC) pr_devel("CXL interrupt: OS Context Warning\n");