[SPARC64]: Fix typo in sun4v_hvapi_register error handling.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -107,7 +107,7 @@ int sun4v_hvapi_register(unsigned long group, unsigned long major,
|
|||||||
p->minor = actual_minor;
|
p->minor = actual_minor;
|
||||||
ret = 0;
|
ret = 0;
|
||||||
} else if (hv_ret == HV_EBADTRAP ||
|
} else if (hv_ret == HV_EBADTRAP ||
|
||||||
HV_ENOTSUPPORTED) {
|
hv_ret == HV_ENOTSUPPORTED) {
|
||||||
if (p->flags & FLAG_PRE_API) {
|
if (p->flags & FLAG_PRE_API) {
|
||||||
if (major == 1) {
|
if (major == 1) {
|
||||||
p->major = 1;
|
p->major = 1;
|
||||||
|
Reference in New Issue
Block a user