diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-05-25 03:33:49 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-05-29 05:49:21 -0400 |
commit | 36b48973b8f1818d0ae6d16e548081d00162ae39 (patch) | |
tree | 266a23061895d2b9ca76573c4c185a0a0d614970 /arch/sparc64/kernel | |
parent | 89a4063e959a4701b998f3f1c3f8a6562ab5ba51 (diff) |
[SPARC64]: Fix typo in sun4v_hvapi_register error handling.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel')
-rw-r--r-- | arch/sparc64/kernel/hvapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/hvapi.c b/arch/sparc64/kernel/hvapi.c index f03ffc829c7a..f54b3ed3b09e 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, | |||
107 | p->minor = actual_minor; | 107 | p->minor = actual_minor; |
108 | ret = 0; | 108 | ret = 0; |
109 | } else if (hv_ret == HV_EBADTRAP || | 109 | } else if (hv_ret == HV_EBADTRAP || |
110 | HV_ENOTSUPPORTED) { | 110 | hv_ret == HV_ENOTSUPPORTED) { |
111 | if (p->flags & FLAG_PRE_API) { | 111 | if (p->flags & FLAG_PRE_API) { |
112 | if (major == 1) { | 112 | if (major == 1) { |
113 | p->major = 1; | 113 | p->major = 1; |