mbox series

[00/14] staging: ccree: coding style fixes

Message ID 1498548449-10803-1-git-send-email-gilad@benyossef.com
Headers show
Series staging: ccree: coding style fixes | expand

Message

Gilad Ben-Yossef June 27, 2017, 7:27 a.m. UTC
Fix a bunch of coding style across the whole ccree driver

Gilad Ben-Yossef (14):
  staging: ccree: fix missing or redundant spaces
  staging: ccree: drop comparsion to true/false
  staging: ccree: fix else placement
  staging: ccree: remove redundant blank lines
  staging: ccree: no need for braces for single statements
  staging: ccree: fix unmatched if/else braces
  staging: ccree: remove comparisons to NULL
  staging: ccree: fix pointer location
  staging: ccree: remove custom type tdes_keys_t
  staging: ccree: remove custom type ssi_fips_error_t
  staging: ccree: remove custom type ssi_fips_state_t
  staging: ccree: remove unused type CCFipsSyncStatus_t
  staging: ccree: remove/add (un)needed blank lines
  staging: ccree: fix block comment style

 drivers/staging/ccree/Kconfig            |   2 +-
 drivers/staging/ccree/cc_hw_queue_defs.h |   8 +-
 drivers/staging/ccree/ssi_aead.c         | 142 ++++++---------
 drivers/staging/ccree/ssi_aead.h         |  20 +-
 drivers/staging/ccree/ssi_buffer_mgr.c   | 301 +++++++++++++++----------------
 drivers/staging/ccree/ssi_buffer_mgr.h   |   1 -
 drivers/staging/ccree/ssi_cipher.c       | 124 +++++--------
 drivers/staging/ccree/ssi_cipher.h       |   6 -
 drivers/staging/ccree/ssi_driver.c       |  50 +++--
 drivers/staging/ccree/ssi_driver.h       |   4 +-
 drivers/staging/ccree/ssi_fips.c         |  16 +-
 drivers/staging/ccree/ssi_fips.h         |  15 +-
 drivers/staging/ccree/ssi_fips_data.h    |  20 +-
 drivers/staging/ccree/ssi_fips_ext.c     |  20 +-
 drivers/staging/ccree/ssi_fips_ll.c      | 101 +++++------
 drivers/staging/ccree/ssi_fips_local.c   | 107 +++++------
 drivers/staging/ccree/ssi_fips_local.h   |  20 +-
 drivers/staging/ccree/ssi_hash.c         | 101 +++++------
 drivers/staging/ccree/ssi_hash.h         |   6 +-
 drivers/staging/ccree/ssi_ivgen.c        |   9 +-
 drivers/staging/ccree/ssi_ivgen.h        |   1 -
 drivers/staging/ccree/ssi_pm.c           |  25 +--
 drivers/staging/ccree/ssi_pm.h           |   5 +-
 drivers/staging/ccree/ssi_request_mgr.c  | 102 +++++------
 drivers/staging/ccree/ssi_request_mgr.h  |   6 +-
 drivers/staging/ccree/ssi_sram_mgr.c     |   4 +-
 drivers/staging/ccree/ssi_sram_mgr.h     |   1 -
 drivers/staging/ccree/ssi_sysfs.c        |  66 ++++---
 drivers/staging/ccree/ssi_sysfs.h        |   1 +
 29 files changed, 550 insertions(+), 734 deletions(-)

-- 
2.1.4