projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da1b956
)
misc: ibmvsm: Fix wrong assignment of return code
author
Bryant G. Ly
<
[email protected]
>
Mon, 6 Aug 2018 13:31:00 +0000
(08:31 -0500)
committer
Greg Kroah-Hartman
<
[email protected]
>
Wed, 12 Sep 2018 07:31:00 +0000
(09:31 +0200)
Currently the assignment is flipped and rc is always 0.
Signed-off-by: Bryant G. Ly <
[email protected]
>
Fixes: 0eca353e7ae7 ("misc: IBM Virtual Management Channel Driver (VMC)")
Reviewed-by: Bradley Warrum <
[email protected]
>
Cc: stable <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/misc/ibmvmc.c
patch
|
blob
|
history
diff --git
a/drivers/misc/ibmvmc.c
b/drivers/misc/ibmvmc.c
index 8f82bb9d11e2e3bfb6fbbf3764180a1b7fb0d0a2..b8aaa684c397b0b8be8fe0c5ae00a37b087b6997 100644
(file)
--- a/
drivers/misc/ibmvmc.c
+++ b/
drivers/misc/ibmvmc.c
@@
-2131,7
+2131,7
@@
static int ibmvmc_init_crq_queue(struct crq_server_adapter *adapter)
retrc = plpar_hcall_norets(H_REG_CRQ,
vdev->unit_address,
queue->msg_token, PAGE_SIZE);
- r
etrc =
rc;
+ r
c = ret
rc;
if (rc == H_RESOURCE)
rc = ibmvmc_reset_crq_queue(adapter);