Re: [PATCH v2] crypto: hisilicon/hpre - delete redundant log

2021-04-09 Thread Hui Tang
On 2021/4/9 15:33, Herbert Xu wrote: On Fri, Apr 02, 2021 at 07:24:29PM +0800, Hui Tang wrote: 'hpre_cfg_by_dsm' has checked and printed error path internally. It is not necessary to do it here, so remove it. Signed-off-by: Hui Tang v1 -> v2: - Return immediately when return value of

Re: [PATCH v2] crypto: hisilicon/hpre - delete redundant log

2021-04-09 Thread Herbert Xu
On Fri, Apr 02, 2021 at 07:24:29PM +0800, Hui Tang wrote: > 'hpre_cfg_by_dsm' has checked and printed error path internally. It is not > necessary to do it here, so remove it. > > Signed-off-by: Hui Tang > > v1 -> v2: > - Return immediately when return value of 'hpre_cfg_by_dsm' is non-zero. >

[PATCH v2] crypto: hisilicon/hpre - delete redundant log

2021-04-02 Thread Hui Tang
'hpre_cfg_by_dsm' has checked and printed error path internally. It is not necessary to do it here, so remove it. Signed-off-by: Hui Tang v1 -> v2: - Return immediately when return value of 'hpre_cfg_by_dsm' is non-zero. --- drivers/crypto/hisilicon/hpre/hpre_main.c | 2 +- 1 file changed, 1