Messages in this thread | | | Date | Fri, 4 Aug 2023 17:34:04 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH v2] crypto: atmel: Use dev_err_probe instead of dev_err |
| |
On Wed, Jul 26, 2023 at 08:04:41PM +0800, Wang Ming wrote: > It is possible that dma_request_chan will return EPROBE_DEFER, > which means that dd->dev is not ready yet. In this case, > dev_err(dd->dev), there will be no output. This patch fixes the bug. > > Signed-off-by: Wang Ming <machel@vivo.com> > --- > drivers/crypto/atmel-sha.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 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
| |