Commit c4b370ef authored by Jiong Du's avatar Jiong Du Committed by Greg Kroah-Hartman

staging: ks7010: add a blank line after declarations

Fixes checkpatch warning: Missing a blank line after declarations
Signed-off-by: default avatarJiong Du <jiongdu0.0@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 091a3d58
...@@ -64,6 +64,7 @@ static ...@@ -64,6 +64,7 @@ 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) {
addlen = 4 - Mic->nBytesInM; addlen = 4 - Mic->nBytesInM;
if (addlen > nBytes) if (addlen > nBytes)
...@@ -98,6 +99,7 @@ static ...@@ -98,6 +99,7 @@ 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) {
case 0: case 0:
Mic->L ^= 0x5a; Mic->L ^= 0x5a;
......
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