Skip to content

Commit

Permalink
[SPARC64]: Fix typo in sun4v_hvapi_register error handling.
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed May 29, 2007
1 parent 89a4063 commit 36b4897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc64/kernel/hvapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 36b4897

Please sign in to comment.