[PATCH 0/8] staging: ccree: fixes and cleanups

From: Gilad Ben-Yossef
Date: Tue Nov 07 2017 - 04:44:10 EST


This is another batch of ccree fixes & cleanups.

The first patch is a bug fix. All others are pure
readability and coding style fixes.

Gilad Ben-Yossef (8):
staging: ccree: fix leak of import() after init()
staging: ccree: use more readable func names
staging: ccree: simplify AEAD using local var
staging: ccree: simplify buf mgr using local vars
staging: ccree: fold common code into function
staging: ccree: simplify pm manager using local var
staging: ccree: remove compare to none zero
staging: ccree: remove braces for single statement

drivers/staging/ccree/ssi_aead.c | 64 ++--
drivers/staging/ccree/ssi_buffer_mgr.c | 556 ++++++++++++++------------------
drivers/staging/ccree/ssi_buffer_mgr.h | 49 ++-
drivers/staging/ccree/ssi_cipher.c | 27 +-
drivers/staging/ccree/ssi_driver.c | 48 +--
drivers/staging/ccree/ssi_hash.c | 195 +++++------
drivers/staging/ccree/ssi_ivgen.c | 4 +-
drivers/staging/ccree/ssi_pm.c | 42 +--
drivers/staging/ccree/ssi_pm.h | 12 +-
drivers/staging/ccree/ssi_request_mgr.c | 24 +-
drivers/staging/ccree/ssi_request_mgr.h | 6 +-
drivers/staging/ccree/ssi_sram_mgr.c | 13 +-
drivers/staging/ccree/ssi_sram_mgr.h | 6 +-
13 files changed, 494 insertions(+), 552 deletions(-)

--
2.7.4