EDAC/igen6: Return the correct error type when not the MC owner
authorJia He <justin.he@arm.com>
Tue, 18 Oct 2022 08:22:14 +0000 (08:22 +0000)
committerBorislav Petkov <bp@suse.de>
Tue, 25 Oct 2022 08:10:54 +0000 (10:10 +0200)
commitf5e32344d472f1021b9d382333f01b356bc8b8b8
treee034591b7832055b53f3065b25257df8251fba00
parent0d2aa70b8f58c382059fe847fdaa65f05361fc1c
EDAC/igen6: Return the correct error type when not the MC owner

Return -EBUSY instead of -ENODEV just like the other EDAC drivers do.

  [ bp: Rewrite text. ]

Signed-off-by: Jia He <justin.he@arm.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20221018082214.569504-8-justin.he@arm.com
drivers/edac/igen6_edac.c