[PATCH v2 00/12] staging: ks7010: clean michael_mic header and source files
Sergio Paracuellos
sergio.paracuellos at gmail.com
Fri Mar 23 13:05:08 UTC 2018
The following patch series clean michael_mic source and header files.
Changes are as follows:
* avoid camel cases in some structs and function definitions
* replace macros with inline functions
* use u8 type replacing some uint8_t types and avoid some no more
needed casts.
v2:
Patches 9 and 11 of the series have been modified fixing errors
detected in code changes:
- PATCH 9 -> MichaelBlockFunction macro to inline was an error
in function code.
- PATCH 11 -> removed cast does not need parentheses also
so has been removed.
The other patches are the same as in v1.
Sergio Paracuellos (12):
staging: ks7010: use lower case names in michael_mic_t struct fields
staging: ks7010: avoid camel cases in MichaelMICFunction
staging: ks7010: avoid camel cases for MichaelInitFunction
staging: ks7010: avoid camel cases in MichaelAppend function
staging: ks7010: replace macro MichaelClear with inline function
staging: ks7010: avoid camel cases in MichaelGetMIC function
staging: ks7010: replace PutUInt32 macro with an inline function
staging: ks7010: replace GetUInt32 macro with inline function
staging: ks7010: replace MichaelBlockFunction macro with inline
function
staging: ks7010: replace uint8_t in favour of u8 in michael_init
staging: ks7010: replace uint8_t in favour of u8 in michael_append
staging: ks7010: replace uint8_t in favour of u8 in michael_get_mic
drivers/staging/ks7010/ks_hostif.c | 28 +++----
drivers/staging/ks7010/michael_mic.c | 147 +++++++++++++++++------------------
drivers/staging/ks7010/michael_mic.h | 19 +++--
3 files changed, 96 insertions(+), 98 deletions(-)
--
2.7.4
More information about the devel
mailing list