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:
94cbc20
)
[S390] cio: fix rc generation after chsc call
author
Sebastian Ott
<
[email protected]
>
Thu, 26 Mar 2009 14:24:17 +0000
(15:24 +0100)
committer
Martin Schwidefsky
<
[email protected]
>
Thu, 26 Mar 2009 14:24:16 +0000
(15:24 +0100)
In some situations a rc in __chsc_do_secm will be overwritten
by another one. This shouldn't do harm since todays callers
don't check for _specific_ errors but fix it for the sake of
correctness.
Signed-off-by: Sebastian Ott <
[email protected]
>
Signed-off-by: Martin Schwidefsky <
[email protected]
>
drivers/s390/cio/chsc.c
patch
|
blob
|
history
diff --git
a/drivers/s390/cio/chsc.c
b/drivers/s390/cio/chsc.c
index 7399b07a1aeb7ddbe0226fe506d407fb00005bb1..883f16f96f2286ffaa8b617cef0227b239b61799 100644
(file)
--- a/
drivers/s390/cio/chsc.c
+++ b/
drivers/s390/cio/chsc.c
@@
-589,6
+589,7
@@
__chsc_do_secm(struct channel_subsystem *css, int enable, void *page)
case 0x0102:
case 0x0103:
ret = -EINVAL;
+ break;
default:
ret = chsc_error_from_response(secm_area->response.code);
}