From: Jiong Du Date: Tue, 25 Oct 2016 11:40:50 +0000 (+0800) Subject: staging: ks7010: add a blank line after declarations X-Git-Tag: v4.10-rc1~148^2~413 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c4b370efc7fba6a489eda2cafd41109acbce81fb;p=karo-tx-linux.git staging: ks7010: add a blank line after declarations Fixes checkpatch warning: Missing a blank line after declarations Signed-off-by: Jiong Du Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/michael_mic.c b/drivers/staging/ks7010/michael_mic.c index 5f3c1496db94..f1064c1f6056 100644 --- a/drivers/staging/ks7010/michael_mic.c +++ b/drivers/staging/ks7010/michael_mic.c @@ -64,6 +64,7 @@ static void MichaelAppend(struct michel_mic_t *Mic, uint8_t *src, int nBytes) { int addlen; + if (Mic->nBytesInM) { addlen = 4 - Mic->nBytesInM; if (addlen > nBytes) @@ -98,6 +99,7 @@ static void MichaelGetMIC(struct michel_mic_t *Mic, uint8_t *dst) { uint8_t *data = Mic->M; + switch (Mic->nBytesInM) { case 0: Mic->L ^= 0x5a;