[S390] cio: fix rc generation after chsc call
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 26 Mar 2009 14:24:17 +0000 (15:24 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 26 Mar 2009 14:24:16 +0000 (15:24 +0100)
commit17e7d87d9f88480a75fc9c5978ab38131a074277
tree7dfaa416a1d620c2112c0bb34c099b0a730442e9
parent94cbc203bee4ea87bd49ad56f6c5381bc10d8b6b
[S390] cio: fix rc generation after chsc call

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 <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/chsc.c