Commit 7e935f18 authored by Sandhya Bankar's avatar Sandhya Bankar Committed by Greg Kroah-Hartman

Staging: ks7010: michael_mic: Use "foo *bar" instead of "foo * bar".

This issue was found by checkpatch.
Signed-off-by: default avatarSandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d14d3557
...@@ -37,7 +37,7 @@ do { \ ...@@ -37,7 +37,7 @@ do { \
} while (0) } while (0)
static static
void MichaelInitializeFunction(struct michel_mic_t *Mic, uint8_t * key) void MichaelInitializeFunction(struct michel_mic_t *Mic, uint8_t *key)
{ {
// Set the key // Set the key
Mic->K0 = getUInt32(key, 0); Mic->K0 = getUInt32(key, 0);
...@@ -60,7 +60,7 @@ do{ \ ...@@ -60,7 +60,7 @@ do{ \
}while(0) }while(0)
static static
void MichaelAppend(struct michel_mic_t *Mic, uint8_t * src, int nBytes) void MichaelAppend(struct michel_mic_t *Mic, uint8_t *src, int nBytes)
{ {
int addlen; int addlen;
if (Mic->nBytesInM) { if (Mic->nBytesInM) {
...@@ -94,7 +94,7 @@ void MichaelAppend(struct michel_mic_t *Mic, uint8_t * src, int nBytes) ...@@ -94,7 +94,7 @@ void MichaelAppend(struct michel_mic_t *Mic, uint8_t * src, int nBytes)
} }
static static
void MichaelGetMIC(struct michel_mic_t *Mic, uint8_t * dst) void MichaelGetMIC(struct michel_mic_t *Mic, uint8_t *dst)
{ {
uint8_t *data = Mic->M; uint8_t *data = Mic->M;
switch (Mic->nBytesInM) { switch (Mic->nBytesInM) {
...@@ -122,9 +122,9 @@ void MichaelGetMIC(struct michel_mic_t *Mic, uint8_t * dst) ...@@ -122,9 +122,9 @@ void MichaelGetMIC(struct michel_mic_t *Mic, uint8_t * dst)
MichaelClear(Mic); MichaelClear(Mic);
} }
void MichaelMICFunction(struct michel_mic_t *Mic, uint8_t * Key, void MichaelMICFunction(struct michel_mic_t *Mic, uint8_t *Key,
uint8_t * Data, int Len, uint8_t priority, uint8_t *Data, int Len, uint8_t priority,
uint8_t * Result) uint8_t *Result)
{ {
uint8_t pad_data[4] = { priority, 0, 0, 0 }; uint8_t pad_data[4] = { priority, 0, 0, 0 };
// Compute the MIC value // Compute the MIC value
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment