提交 c4b370ef 编写于 作者: J Jiong Du 提交者: Greg Kroah-Hartman

staging: ks7010: add a blank line after declarations

Fixes checkpatch warning: Missing a blank line after declarations
Signed-off-by: NJiong Du <jiongdu0.0@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册