]> git.ipfire.org Git - people/ms/linux.git/commit
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)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 24 Mar 2015 01:02:54 +0000 (21:02 -0400)
commitda7a05331943f70380ceb71a6e2d462d6196334c
tree03b6b9e79f2e8adffc468647a4c5a377a501ded2
parent3bc64c1b582e4de917fbbdeaec199864ec8194af
cxl: Add missing return statement after handling AFU errror

commit a6130ed253a931d2169c26ab0958d81b0dce4d6e upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/cxl/irq.c