]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
cxl: Add missing return statement after handling AFU errror
authorIan Munsie <imunsie@au1.ibm.com>
Wed, 4 Feb 2015 08:10:38 +0000 (19:10 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 6 Feb 2015 00:17:27 +0000 (11:17 +1100)
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 <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/irq.c

index f0836472403b8f4379d831446c4f68ee02ec493e..c8929c526691706b0c7d566b3e32bed760aad062 100644 (file)
@@ -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");