[PATCH 00/10] staging: ccree: assorted cleanups

Gilad Ben-Yossef gilad at benyossef.com
Sun May 7 13:35:53 UTC 2017


The patchset includes various code cleanups for the ccree driver:
- Clean several checpatch errors and warnings
- Remove internal HW testing code not relevant for upstream

The patch set should be applied on top of 'commit 9c0223832982
("staging:r8188eu: remove unused definitions from include/ieee80211.h")'
from staging/staging-testing tree.

Gilad Ben-Yossef (10):
  staging: ccree: remove unused code
  staging: ccree: stdint to kernel types conversion
  staging: ccree: remove min/max macros
  staging: ccree: drop open coded init for memset
  staging: ccree: fix enum/struct definitions style
  staging: ccree: fix white space style errors
  staging: ccree: fix cc_lli_defs.h white space
  stating: ccree: remove double definition of MSB64
  staging: ccree: drop __KERNEL__ include guard
  staging: ccree: fix checkpatch errors in macro def

 drivers/staging/ccree/cc_bitops.h          |  27 ----
 drivers/staging/ccree/cc_crypto_ctx.h      |  81 +++++------
 drivers/staging/ccree/cc_hw_queue_defs.h   | 214 ++++++++++-----------------
 drivers/staging/ccree/cc_lli_defs.h        |  40 +++---
 drivers/staging/ccree/cc_pal_log.h         | 188 ------------------------
 drivers/staging/ccree/cc_pal_log_plat.h    |  33 -----
 drivers/staging/ccree/cc_pal_types.h       |  97 -------------
 drivers/staging/ccree/cc_pal_types_plat.h  |  29 ----
 drivers/staging/ccree/cc_regs.h            |  15 +-
 drivers/staging/ccree/dx_env.h             | 224 -----------------------------
 drivers/staging/ccree/dx_reg_base_host.h   |   9 --
 drivers/staging/ccree/hash_defs.h          |  14 +-
 drivers/staging/ccree/hw_queue_defs_plat.h |  43 ------
 drivers/staging/ccree/ssi_aead.c           |  80 +++++------
 drivers/staging/ccree/ssi_aead.h           |  26 ++--
 drivers/staging/ccree/ssi_buffer_mgr.c     | 126 ++++++++--------
 drivers/staging/ccree/ssi_buffer_mgr.h     |  10 +-
 drivers/staging/ccree/ssi_cipher.c         |  24 ++--
 drivers/staging/ccree/ssi_cipher.h         |  10 +-
 drivers/staging/ccree/ssi_driver.c         |  16 +--
 drivers/staging/ccree/ssi_driver.h         |  17 +--
 drivers/staging/ccree/ssi_fips.h           |  10 +-
 drivers/staging/ccree/ssi_fips_ll.c        | 142 +++++++++---------
 drivers/staging/ccree/ssi_fips_local.c     |   6 +-
 drivers/staging/ccree/ssi_fips_local.h     |   2 +-
 drivers/staging/ccree/ssi_hash.c           | 120 ++++++++--------
 drivers/staging/ccree/ssi_hash.h           |  32 ++---
 drivers/staging/ccree/ssi_ivgen.c          |  10 +-
 drivers/staging/ccree/ssi_ivgen.h          |   2 +-
 drivers/staging/ccree/ssi_request_mgr.c    |  44 +++---
 drivers/staging/ccree/ssi_request_mgr.h    |   4 +-
 drivers/staging/ccree/ssi_sram_mgr.c       |  12 +-
 drivers/staging/ccree/ssi_sram_mgr.h       |   8 +-
 drivers/staging/ccree/ssi_sysfs.c          |  24 ++--
 34 files changed, 500 insertions(+), 1239 deletions(-)
 delete mode 100644 drivers/staging/ccree/cc_pal_log.h
 delete mode 100644 drivers/staging/ccree/cc_pal_log_plat.h
 delete mode 100644 drivers/staging/ccree/cc_pal_types.h
 delete mode 100644 drivers/staging/ccree/cc_pal_types_plat.h
 delete mode 100644 drivers/staging/ccree/dx_env.h
 delete mode 100644 drivers/staging/ccree/hw_queue_defs_plat.h

-- 
2.1.4



More information about the devel mailing list