Messages in this thread |  | | Date | Mon, 9 Sep 2019 17:48:44 +1000 | From | Herbert Xu <> | Subject | Re: [PATCH] crypto: arm64: Use PTR_ERR_OR_ZERO rather than its implementation. |
| |
On Tue, Sep 03, 2019 at 02:54:16PM +0800, zhong jiang wrote: > PTR_ERR_OR_ZERO contains if(IS_ERR(...)) + PTR_ERR. It is better to > use it directly. hence just replace it. > > Signed-off-by: zhong jiang <zhongjiang@huawei.com> > --- > arch/arm64/crypto/aes-glue.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-)
Patch applied. Thanks. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
|  |