Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=36b48973b8f1818d0ae6d16e548081d00162ae39
Commit:     36b48973b8f1818d0ae6d16e548081d00162ae39
Parent:     89a4063e959a4701b998f3f1c3f8a6562ab5ba51
Author:     David S. Miller <[EMAIL PROTECTED]>
AuthorDate: Fri May 25 00:33:49 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Tue May 29 02:49:21 2007 -0700

    [SPARC64]: Fix typo in sun4v_hvapi_register error handling.
    
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 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 f03ffc8..f54b3ed 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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to