summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Mühlbacher <tmuehlbacher@posteo.net>2024-05-12 19:39:19 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2024-05-26 12:52:37 -0400
commit6ba303e8bff73db9eda94541d1a2497f7035c9be (patch)
treecf2226a5490460f64c51bcdf5c10dd4e0e465dd3
parent80167bf0a850b9b073a1d1d49e3ced875aac6e02 (diff)
fix unfortunate typo
causes mounting encrypted devices to become stuck in a busy loop. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r--include/crypto/skcipher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/skcipher.h b/include/crypto/skcipher.h
index 70905a5a..833729dc 100644
--- a/include/crypto/skcipher.h
+++ b/include/crypto/skcipher.h
@@ -112,7 +112,7 @@ static inline void skcipher_request_set_sync_tfm(struct skcipher_request *req,
skcipher_request_set_tfm(req, &tfm->base);
}
-#define skcipher_request_set_callback(...) do {} while (9)
+#define skcipher_request_set_callback(...) do {} while (0)
static inline void skcipher_request_set_crypt(
struct skcipher_request *req,