security/keys: Adding newline after declaration
Subsystems (2)
PATCH 1/1 security/keys: Adding newline after declaration
Fixing checkpatch warning to add newline after declaration
Signed-off-by Pushkar Jambhlekar <[email protected]>
--- security/keys/big_key.c | 1 + 1 file changed, 1 insertion(+)
security/keys/big_key.c +1 -0
@@ -93,6 +93,7 @@ static int big_key_crypt(enum big_key_op op, u8 *data, size_t datalen, u8 *key) {int ret = -EINVAL ;struct scatterlist sgio; +SKCIPHER_REQUEST_ON_STACK (req, big_key_skcipher);if (crypto_skcipher_setkey (big_key_skcipher, key,ENC_KEY_SIZE )) {
Signature · 6 lines
2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 1 line · Pushkar Jambhlekar
Fixing checkpatch warning to add newline after declaration
[]
security/keys/big_key.c
Quoted 1 line
security/keys/big_key.c +0
-0
[]
security/keys/big_key.c static int big_key_crypt(enum big_key_op op, u8 *data, size_t datalen, u8 *key) · line 97
Quoted 6 lines
security/keys/big_key.c +1
-0@@ -93,6 +93,7 @@ static int big_key_crypt(enum big_key_op op, u8 *data, size_t datalen, u8 *key) {int ret = -EINVAL ;struct scatterlist sgio; +SKCIPHER_REQUEST_ON_STACK (req, big_key_skcipher);
checkpatch doesn't know that SKCIPHER_REQUEST_ON_STACK is actually 2 declarations.