public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crypto: frcypt Fix checkpatch warnings
@ 2023-06-06 11:10 Franziska Naepelt
  2023-06-06 11:36 ` Bagas Sanjaya
  2023-06-11 10:53 ` [PATCH v2] crypto: fcrypt: Fix block comment Franziska Naepelt
  0 siblings, 2 replies; 5+ messages in thread
From: Franziska Naepelt @ 2023-06-06 11:10 UTC (permalink / raw)
  To: linux-crypto; +Cc: herbert, davem, linux-kernel, Franziska Naepelt

The following checkpatch warnings have been fixed:
- WARNING: Missing or malformed SPDX-License-Identifier tag
- WARNING: Block comments use a trailing */ on a separate line

Signed-off-by: Franziska Naepelt <franziska.naepelt@gmail.com>
---
 crypto/fcrypt.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/crypto/fcrypt.c b/crypto/fcrypt.c
index 95a16e88899b..d81d65489c41 100644
--- a/crypto/fcrypt.c
+++ b/crypto/fcrypt.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* FCrypt encryption algorithm
  *
  * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
@@ -303,7 +304,8 @@ static int fcrypt_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int key
 
 #if BITS_PER_LONG == 64  /* the 64-bit version can also be used for 32-bit
 			  * kernels - it seems to be faster but the code is
-			  * larger */
+			  * larger
+			  */
 
 	u64 k;	/* k holds all 56 non-parity bits */
 

base-commit: 9561de3a55bed6bdd44a12820ba81ec416e705a7
-- 
2.39.2 (Apple Git-143)


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-12 17:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-06 11:10 [PATCH] crypto: frcypt Fix checkpatch warnings Franziska Naepelt
2023-06-06 11:36 ` Bagas Sanjaya
2023-06-11 10:53 ` [PATCH v2] crypto: fcrypt: Fix block comment Franziska Naepelt
2023-06-11 14:56   ` Randy Dunlap
2023-06-12 17:23     ` Franziska Näpelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox