Skip to content

s390/crypto: Use -ENODEV instead of -EOPNOTSUPP

David Hildenbrand linux-crypto linux-s390 lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 4 repliesIn review
  2. v24 patches 10 repliesSuperseded
  3. v11 patch 5 repliesSuperseded

Changes in v3 from the cover letter

- "s390/pkey: Use -ENODEV instead of -EOPNOTSUPP" -- Also convert pkey_clr2protkey() as requested by Harald
- Add r-b's (thanks!)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4s390/pkey: Use -ENODEV instead of -EOPNOTSUPPdrivers/s390/crypto/pkey_api.c+4 -40 replies
2/4s390/crypto: ghash: Use -ENODEV instead of -EOPNOTSUPParch/s390/crypto/ghash_s390.c+1 -10 replies
3/4s390/crypto: prng: Use -ENODEV instead of -EOPNOTSUPParch/s390/crypto/prng.c+2 -20 replies
4/4s390/crypto: sha: Use -ENODEV instead of -EOPNOTSUPParch/s390/crypto/sha1_s390.c arch/s390/crypto/sha256_s390.c arch/s390/crypto/sha512_s390.c+3 -30 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchCornelia HuckHarald Freudenberger
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] s390/crypto: Use -ENODEV instead of -EOPNOTSUPP

s390x crypto is one of the rare modules that returns -EOPNOTSUPP instead of -ENODEV in case HW support is not available.

Convert to -ENODEV, so e.g., systemd's systemd-modules-load.service ignores this error properly.

v2 -> v3:
- "s390/pkey: Use -ENODEV instead of -EOPNOTSUPP" -- Also convert pkey_clr2protkey() as requested by Harald
- Add r-b's (thanks!)

v1 -> v2:
- Include
-- "s390/crypto: ghash: Use -ENODEV instead of -EOPNOTSUPP" -- "s390/crypto: prng: Use -ENODEV instead of -EOPNOTSUPP" -- "s390/crypto: sha: Use -ENODEV instead of -EOPNOTSUPP"

Cc Herbert Xu <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Heiko Carstens <[email protected]>
Cc Vasily Gorbik <[email protected]>
Cc Christian Borntraeger <[email protected]>
Cc Harald Freudenberger <[email protected]>
Cc Cornelia Huck <[email protected]>

David Hildenbrand (4):
s390/pkey: Use -ENODEV instead of -EOPNOTSUPP s390/crypto: ghash: Use -ENODEV instead of -EOPNOTSUPP s390/crypto: prng: Use -ENODEV instead of -EOPNOTSUPP s390/crypto: sha: Use -ENODEV instead of -EOPNOTSUPP

 arch/s390/crypto/ghash_s390.c  | 2 +-
 arch/s390/crypto/prng.c        | 4 ++--
 arch/s390/crypto/sha1_s390.c   | 2 +-
 arch/s390/crypto/sha256_s390.c | 2 +-
 arch/s390/crypto/sha512_s390.c | 2 +-
 drivers/s390/crypto/pkey_api.c | 8 ++++----
 6 files changed, 10 insertions(+), 10 deletions(-)
Signature · 1 line
2.21.0