Skip to contentSkip to conversation

security/keys: Adding newline after declaration

PATCH In review Pushkar Jambhlekar 2 participants 2 messages Sep 7, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 security/keys: Adding newline after declaration

Fixing checkpatch warning to add newline after declaration

---
 security/keys/big_key.c | 1 +
 1 file changed, 1 insertion(+)
security/keys/big_key.c +1 -0
index 835c1ab..bc4c6eb 100644
@@ -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
#1 lore raw
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.