From: Marcus Farkas Date: Sat, 17 May 2014 17:38:29 +0000 (+0200) Subject: staging: rtl8712: fix missing blank lines after declarations X-Git-Tag: Ubuntu-snapdragon-4.4.0-1029.32~8292^2~39^2~374 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=4679934a72ec0943ab628080f9f6e5fe23c73fe7;p=mirror_ubuntu-zesty-kernel.git staging: rtl8712: fix missing blank lines after declarations This commit fixes the following checkpatch warnings: rtl8712/rtl871x_security.c - 275: WARNING: Missing a blank line after declarations - 768: WARNING: Missing a blank line after declarations - 801: WARNING: Missing a blank line after declarations Signed-off-by: Marcus Farkas Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8712/rtl871x_security.c b/drivers/staging/rtl8712/rtl871x_security.c index 5ffc489e9501..b053a4d0b18b 100644 --- a/drivers/staging/rtl8712/rtl871x_security.c +++ b/drivers/staging/rtl8712/rtl871x_security.c @@ -272,6 +272,7 @@ static void secmicputuint32(u8 *p, u32 val) /* Convert from Us4Byte32 to Byte[] in a portable way */ { long i; + for (i = 0; i < 4; i++) { *p++ = (u8) (val & 0xff); val >>= 8; @@ -765,6 +766,7 @@ static void xor_128(u8 *a, u8 *b, u8 *out) static void xor_32(u8 *a, u8 *b, u8 *out) { sint i; + for (i = 0; i < 4; i++) out[i] = a[i] ^ b[i]; } @@ -798,6 +800,7 @@ static void next_key(u8 *key, sint round) static void byte_sub(u8 *in, u8 *out) { sint i; + for (i = 0; i < 16; i++) out[i] = sbox(in[i]); }