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 <marcus.farkas@finitebox.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2af9e74ae6
commit
4679934a72
|
@ -272,6 +272,7 @@ static void secmicputuint32(u8 *p, u32 val)
|
||||||
/* Convert from Us4Byte32 to Byte[] in a portable way */
|
/* Convert from Us4Byte32 to Byte[] in a portable way */
|
||||||
{
|
{
|
||||||
long i;
|
long i;
|
||||||
|
|
||||||
for (i = 0; i < 4; i++) {
|
for (i = 0; i < 4; i++) {
|
||||||
*p++ = (u8) (val & 0xff);
|
*p++ = (u8) (val & 0xff);
|
||||||
val >>= 8;
|
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)
|
static void xor_32(u8 *a, u8 *b, u8 *out)
|
||||||
{
|
{
|
||||||
sint i;
|
sint i;
|
||||||
|
|
||||||
for (i = 0; i < 4; i++)
|
for (i = 0; i < 4; i++)
|
||||||
out[i] = a[i] ^ b[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)
|
static void byte_sub(u8 *in, u8 *out)
|
||||||
{
|
{
|
||||||
sint i;
|
sint i;
|
||||||
|
|
||||||
for (i = 0; i < 16; i++)
|
for (i = 0; i < 16; i++)
|
||||||
out[i] = sbox(in[i]);
|
out[i] = sbox(in[i]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue