Skip to contentSkip to conversation

ksmbd: remove unnecessary softdep on crc32

PATCH Applied Eric Biggers 2 participants 2 messages May 14, 2025

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

PATCH 1/1 ksmbd: remove unnecessary softdep on crc32

From: Eric Biggers <[email protected]>

ksmbd accesses crc32 using normal function calls (as opposed to e.g. the generic crypto infrastructure's name-based algorithm resolution), so there is no need to declare a module softdep.

---
 fs/smb/server/server.c | 1 -
 1 file changed, 1 deletion(-)
fs/smb/server/server.c +0 -1
index ab533c6029879..8c9c49c3a0a47 100644
@@ -629,8 +629,7 @@ MODULE_SOFTDEP("pre: cmac");
 MODULE_SOFTDEP("pre: sha256");
 MODULE_SOFTDEP("pre: sha512");
 MODULE_SOFTDEP("pre: aead2");
 MODULE_SOFTDEP("pre: ccm");
 MODULE_SOFTDEP("pre: gcm");
-MODULE_SOFTDEP("pre: crc32");
 module_init(ksmbd_server_init)
 module_exit(ksmbd_server_exit)

base-commit: aa94665adc28f3fdc3de2979ac1e98bae961d6ca

Signature · 1 line
2.49.0
maintainer Applied
#1 lore raw
Quoted 8 lines · Eric Biggers

From: Eric Biggers <[email protected]>

ksmbd accesses crc32 using normal function calls (as opposed to e.g. the generic crypto infrastructure's name-based algorithm resolution), so there is no need to declare a module softdep.

Applied it to #ksmbd-for-next-next.
Thanks!