Commit 36b48973 authored by David S. Miller's avatar David S. Miller

[SPARC64]: Fix typo in sun4v_hvapi_register error handling.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 89a4063e
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment