Re: [PATCH v2 0/8] crypto: hisilicon/hpre - fix coding style

From: Herbert Xu
Date: Fri May 21 2021 - 04:23:02 EST


On Wed, May 12, 2021 at 02:27:03PM +0800, Hui Tang wrote:
> This patchset fix coding style, as follows:
>
> Hui Tang (8):
> crypto: hisilicon/hpre - the macro 'HPRE_ADDR' expands
> crypto: hisilicon/hpre - init a structure member each line
> crypto: hisilicon/hpre - replace macro with inline function
> crypto: hisilicon/hpre - remove the macro of 'HPRE_DEV'
> crypto: hisilicon/hpre - delete rudundant initialization
> crypto: hisilicon/hpre - use 'GENMASK' to generate mask value
> crypto: hisilicon/hpre - delete rudundant macro definition
> crypto: hisilicon/hpre - add 'default' for switch statement
>
> v1 -> v2: fix build warnings reported by kernel test robot.
>
> drivers/crypto/hisilicon/hpre/hpre_crypto.c | 67 ++++++------
> drivers/crypto/hisilicon/hpre/hpre_main.c | 157 +++++++++++++++++-----------
> 2 files changed, 128 insertions(+), 96 deletions(-)

All applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt