[PATCH 05/10] nvme-keyring: add nvme_tls_psk_refresh()

Christoph Hellwig hch at lst.de
Tue Jan 28 01:00:44 PST 2025


On Wed, Jan 22, 2025 at 05:58:24PM +0100, Hannes Reinecke wrote:
> +static inline struct key *nvme_tls_psk_refresh(struct key *keyring,
> +		const char *hostnqn, char *subnqn, u8 hmac_id,
> +		u8 *data, size_t data_len, const char *digest)
> +{
> +	return ERR_PTR(-ENOTSUPP);

Is this supposed to be -EOPNOTSUPP?

Also the later added callers treat this an an error.  Should this
stub be reachable at all?




More information about the Linux-nvme mailing list