[PATCH 4/4] nvme-keyring: fixup declaration of nvme_dhchap_psk_hash()

Hannes Reinecke hare at kernel.org
Wed Oct 1 08:13:51 PDT 2025


Fixup stub declaration of nvme_dhchap_psk_hash() to avoid kbuild
warnings.

Signed-off-by: Hannes Reinecke <hare at kernel.org>
---
 include/linux/nvme-keyring.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/nvme-keyring.h b/include/linux/nvme-keyring.h
index 6115bf5cf346..4bdac22b3cbb 100644
--- a/include/linux/nvme-keyring.h
+++ b/include/linux/nvme-keyring.h
@@ -54,7 +54,7 @@ static inline struct key *nvme_dhchap_psk_lookup(struct key *keyring,
 {
 	return ERR_PTR(-ENOTSUPP);
 }
-u8 nvme_dhchap_psk_hash(struct key *key)
+static inline u8 nvme_dhchap_psk_hash(struct key *key)
 {
 	return 0;
 }
-- 
2.43.0




More information about the Linux-nvme mailing list