[PATCH 3/9] nvme: add nvme_auth_generate_digest()

Mark O'Donovan shiftee at posteo.net
Tue Oct 15 14:45:19 PDT 2024


>		pr_warn("%s: invalid hash algoritm %d\n",

algoritm -> algorithm  (also present in other patches)


>	if (ret < hmac_len)
>		ret = -ENOKEY;
>	*ret_digest = hmac;
>	ret = 0;

Setting ret to -ENOKEY has no effect as it gets set to 0 after.



More information about the Linux-nvme mailing list