diff options
author | Punit Vara | 2016-11-15 13:57:23 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-11-16 08:23:23 +0100 |
commit | 81710951fb36ff5d53fb4cfc8a31e6e73302be83 (patch) | |
tree | c7c7252918bcd51ebf1ea36b0f701ebc8dd4afb8 /drivers/staging/ks7010/michael_mic.h | |
parent | staging: xgifb: vb_table.h Preferred space around (diff) | |
download | kernel-qcow2-linux-81710951fb36ff5d53fb4cfc8a31e6e73302be83.tar.gz kernel-qcow2-linux-81710951fb36ff5d53fb4cfc8a31e6e73302be83.tar.xz kernel-qcow2-linux-81710951fb36ff5d53fb4cfc8a31e6e73302be83.zip |
Staging: ks7010: Use preffered kernel types
Replace uint8_t, uint16_t and uint32_t with preferred kernel types
u8, u16 and u32 respectively suggested by checkpatch.pl
Signed-off-by: Punit Vara <punitvara@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ks7010/michael_mic.h')
-rw-r--r-- | drivers/staging/ks7010/michael_mic.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/staging/ks7010/michael_mic.h b/drivers/staging/ks7010/michael_mic.h index 9f6d23aaa6f1..248f849fc4a5 100644 --- a/drivers/staging/ks7010/michael_mic.h +++ b/drivers/staging/ks7010/michael_mic.h @@ -11,15 +11,15 @@ /* MichelMIC routine define */ struct michel_mic_t { - uint32_t K0; // Key - uint32_t K1; // Key - uint32_t L; // Current state - uint32_t R; // Current state - uint8_t M[4]; // Message accumulator (single word) + u32 K0; // Key + u32 K1; // Key + u32 L; // Current state + u32 R; // Current state + u8 M[4]; // Message accumulator (single word) int nBytesInM; // # bytes in M - uint8_t Result[8]; + u8 Result[8]; }; -void MichaelMICFunction(struct michel_mic_t *Mic, uint8_t *Key, - uint8_t *Data, int Len, uint8_t priority, - uint8_t *Result); +void MichaelMICFunction(struct michel_mic_t *Mic, u8 *Key, + u8 *Data, int Len, u8 priority, + u8 *Result); |