Skip to content

crypto: hisilicon/hpre - fix coding style

Hui Tang linux-crypto lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/28 patches 1 replyIn review
  2. v2 posting 1/24 of 8 patches 1 replySuperseded
  3. v18 patches 0 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8crypto: hisilicon/hpre - the macro 'HPRE_ADDR' expandsdrivers/crypto/hisilicon/hpre/hpre_main.c+29 -300 replies
2/8crypto: hisilicon/hpre - init a structure member each linedrivers/crypto/hisilicon/hpre/hpre_main.c+42 -140 replies
3/8crypto: hisilicon/hpre - replace macro with inline functiondrivers/crypto/hisilicon/hpre/hpre_main.c+16 -90 replies
4/8crypto: hisilicon/hpre - remove the macro of 'HPRE_DEV'drivers/crypto/hisilicon/hpre/hpre_crypto.c+26 -270 replies
5/8crypto: hisilicon/hpre - delete rudundant initializationdrivers/crypto/hisilicon/hpre/hpre_crypto.c+2 -20 replies
6/8crypto: hisilicon/hpre - use 'GENMASK' to generate mask valuedrivers/crypto/hisilicon/hpre/hpre_crypto.c drivers/crypto/hisilicon/hpre/hpre_main.c+10 -100 replies
7/8crypto: hisilicon/hpre - delete rudundant macro definitiondrivers/crypto/hisilicon/hpre/hpre_main.c+1 -20 replies
8/8crypto: hisilicon/hpre - add 'default' for switch statementdrivers/crypto/hisilicon/hpre/hpre_crypto.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(-)

--
2.8.1