Re: [PATCH 2/2] Crypto/chcr: Fix some pr_xxx messages

2020-07-16 Thread Herbert Xu
On Sun, Jul 12, 2020 at 11:14:24PM +0200, Christophe JAILLET wrote: > At the top this file, we have: >#define pr_fmt(fmt) "chcr:" fmt > > So there is no need to repeat "chcr : " in some error message when the > pr_xxx macro is used. > This would lead to log "chcr:chcr : blabla" > >

Re: [PATCH 2/2] Crypto/chcr: Fix some pr_xxx messages

2020-07-13 Thread Markus Elfring
… > +++ b/drivers/crypto/chelsio/chcr_algo.c > @@ -1224,7 +1224,7 @@ static int chcr_handle_cipher_resp(struct > skcipher_request *req, > wrparam.bytes = bytes; > skb = create_cipher_wr(); > if (IS_ERR(skb)) { > - pr_err("chcr : %s : Failed to form WR. No memory\n",

[PATCH 2/2] Crypto/chcr: Fix some pr_xxx messages

2020-07-12 Thread Christophe JAILLET
At the top this file, we have: #define pr_fmt(fmt) "chcr:" fmt So there is no need to repeat "chcr : " in some error message when the pr_xxx macro is used. This would lead to log "chcr:chcr : blabla" Signed-off-by: Christophe JAILLET --- drivers/crypto/chelsio/chcr_algo.c | 19