From: David S. Miller Date: Fri, 25 May 2007 07:33:49 +0000 (-0700) Subject: [SPARC64]: Fix typo in sun4v_hvapi_register error handling. X-Git-Tag: v2.6.22-rc4~96^2~11 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36b48973b8f1818d0ae6d16e548081d00162ae39;p=linux-2.6 [SPARC64]: Fix typo in sun4v_hvapi_register error handling. Signed-off-by: David S. Miller --- diff --git a/arch/sparc64/kernel/hvapi.c b/arch/sparc64/kernel/hvapi.c index f03ffc829c..f54b3ed3b0 100644 --- a/arch/sparc64/kernel/hvapi.c +++ b/arch/sparc64/kernel/hvapi.c @@ -107,7 +107,7 @@ int sun4v_hvapi_register(unsigned long group, unsigned long major, p->minor = actual_minor; ret = 0; } else if (hv_ret == HV_EBADTRAP || - HV_ENOTSUPPORTED) { + hv_ret == HV_ENOTSUPPORTED) { if (p->flags & FLAG_PRE_API) { if (major == 1) { p->major = 1;