Skip to contentSkip to conversation

Staging: Use "foo *bar" instead of "foo * bar"

PATCH New Sandhya Bankar 1 participant 3 messages Sep 20, 2016 Staging

lore
Share & tools
lore
#0 lore raw

cover Staging: Use "foo *bar" instead of "foo * bar"

This patch was found by checkpatch.

Sandhya Bankar (2):
Staging: ks7010: michael_mic: Use "foo *bar" instead of "foo * bar".
Staging: ks7010: Use "foo *bar" instead of "foo * bar".

 drivers/staging/ks7010/michael_mic.c |   12 ++++++------
 drivers/staging/ks7010/michael_mic.h |    6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)
#1 lore raw

PATCH 1/2 Staging: ks7010: Use "foo *bar" instead of "foo * bar".

This issue was found by checkpatch.

---
 drivers/staging/ks7010/michael_mic.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/ks7010/michael_mic.h +3 -3
index 89f17d5..efaa217 100644
@@ -20,6 +20,6 @@ struct michel_mic_t {
 	uint8_t 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, uint8_t *Key,
+			uint8_t *Data, int Len, uint8_t priority,
+			uint8_t *Result);
Signature · 1 line
1.7.1
#2 lore raw

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

In reply to Sandhya Bankar

This issue was found by checkpatch.

---
 drivers/staging/ks7010/michael_mic.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
drivers/staging/ks7010/michael_mic.c +6 -6
index d332678..78ae2b8 100644
@@ -37,7 +37,7 @@ do {					\
 } while (0)
 
 static
-void MichaelInitializeFunction(struct michel_mic_t *Mic, uint8_t * key)
+void MichaelInitializeFunction(struct michel_mic_t *Mic, uint8_t *key)
 {
 	// Set the key
 	Mic->K0 = getUInt32(key, 0);
@@ -60,7 +60,7 @@ do{								\
 }while(0)
 
 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;
 	if (Mic->nBytesInM) {
@@ -94,7 +94,7 @@ void MichaelAppend(struct michel_mic_t *Mic, uint8_t * src, int nBytes)
 }
 
 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;
 	switch (Mic->nBytesInM) {
@@ -122,9 +122,9 @@ void MichaelGetMIC(struct michel_mic_t *Mic, uint8_t * dst)
 	MichaelClear(Mic);
 }
 
-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, uint8_t *Key,
+			uint8_t *Data, int Len, uint8_t priority,
+			uint8_t *Result)
 {
 	uint8_t pad_data[4] = { priority, 0, 0, 0 };
 	// Compute the MIC value
Signature · 1 line
1.7.1