From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:56558 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436800AbfFLNsd (ORCPT ); Wed, 12 Jun 2019 09:48:33 -0400 Date: Wed, 12 Jun 2019 15:48:18 +0200 From: Cornelia Huck Subject: Re: [PATCH v3 0/4] s390/crypto: Use -ENODEV instead of -EOPNOTSUPP Message-ID: <20190612154818.69a02949.cohuck@redhat.com> In-Reply-To: <20190612133306.10231-1-david@redhat.com> References: <20190612133306.10231-1-david@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-s390-owner@vger.kernel.org List-ID: To: David Hildenbrand Cc: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-crypto@vger.kernel.org, Herbert Xu , "David S. Miller" , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Harald Freudenberger On Wed, 12 Jun 2019 15:33:02 +0200 David Hildenbrand wrote: > 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 Looks reasonable; my r-b still stands. > - 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 > Cc: "David S. Miller" > Cc: Heiko Carstens > Cc: Vasily Gorbik > Cc: Christian Borntraeger > Cc: Harald Freudenberger > Cc: Cornelia Huck > > 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(-) >