git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[S390] zcrypt: Do not remove coprocessor for error 8/72
[pandora-kernel.git]
/
drivers
/
s390
/
crypto
/
zcrypt_pcicc.c
diff --git
a/drivers/s390/crypto/zcrypt_pcicc.c
b/drivers/s390/crypto/zcrypt_pcicc.c
index
a23726a
..
142f72a
100644
(file)
--- a/
drivers/s390/crypto/zcrypt_pcicc.c
+++ b/
drivers/s390/crypto/zcrypt_pcicc.c
@@
-373,6
+373,8
@@
static int convert_type86(struct zcrypt_device *zdev,
zdev->max_mod_size = PCICC_MAX_MOD_SIZE_OLD;
return -EAGAIN;
}
+ if (service_rc == 8 && service_rs == 72)
+ return -EINVAL;
zdev->online = 0;
return -EAGAIN; /* repeat the request on a different device. */
}