* [PATCH 0/2] Staging: Use "foo *bar" instead of "foo * bar"
@ 2016-09-20 7:38 Sandhya Bankar
2016-09-20 7:39 ` [PATCH 1/2] Staging: ks7010: " Sandhya Bankar
2016-09-20 7:41 ` [PATCH 2/2] Staging: ks7010: michael_mic: " Sandhya Bankar
0 siblings, 2 replies; 3+ messages in thread
From: Sandhya Bankar @ 2016-09-20 7:38 UTC (permalink / raw)
To: outreachy-kernel; +Cc: gregkh
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(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] Staging: ks7010: Use "foo *bar" instead of "foo * bar".
2016-09-20 7:38 [PATCH 0/2] Staging: Use "foo *bar" instead of "foo * bar" Sandhya Bankar
@ 2016-09-20 7:39 ` Sandhya Bankar
2016-09-20 7:41 ` [PATCH 2/2] Staging: ks7010: michael_mic: " Sandhya Bankar
1 sibling, 0 replies; 3+ messages in thread
From: Sandhya Bankar @ 2016-09-20 7:39 UTC (permalink / raw)
To: outreachy-kernel; +Cc: gregkh
This issue was found by checkpatch.
Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
---
drivers/staging/ks7010/michael_mic.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/ks7010/michael_mic.h b/drivers/staging/ks7010/michael_mic.h
index 89f17d5..efaa217 100644
--- a/drivers/staging/ks7010/michael_mic.h
+++ b/drivers/staging/ks7010/michael_mic.h
@@ -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);
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] Staging: ks7010: michael_mic: Use "foo *bar" instead of "foo * bar".
2016-09-20 7:38 [PATCH 0/2] Staging: Use "foo *bar" instead of "foo * bar" Sandhya Bankar
2016-09-20 7:39 ` [PATCH 1/2] Staging: ks7010: " Sandhya Bankar
@ 2016-09-20 7:41 ` Sandhya Bankar
1 sibling, 0 replies; 3+ messages in thread
From: Sandhya Bankar @ 2016-09-20 7:41 UTC (permalink / raw)
To: outreachy-kernel; +Cc: gregkh
This issue was found by checkpatch.
Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
---
drivers/staging/ks7010/michael_mic.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/ks7010/michael_mic.c b/drivers/staging/ks7010/michael_mic.c
index d332678..78ae2b8 100644
--- a/drivers/staging/ks7010/michael_mic.c
+++ b/drivers/staging/ks7010/michael_mic.c
@@ -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
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-09-20 7:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-20 7:38 [PATCH 0/2] Staging: Use "foo *bar" instead of "foo * bar" Sandhya Bankar
2016-09-20 7:39 ` [PATCH 1/2] Staging: ks7010: " Sandhya Bankar
2016-09-20 7:41 ` [PATCH 2/2] Staging: ks7010: michael_mic: " Sandhya Bankar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.