[PATCH 1/3] nvme-keyring: use correct format specifier

Keith Busch kbusch at kernel.org
Mon Oct 6 07:18:16 PDT 2025


On Wed, Oct 01, 2025 at 04:21:58PM +0200, Hannes Reinecke wrote:
> @@ -340,7 +340,7 @@ static int nvme_dhchap_psk_preparse(struct key_preparsed_payload *prep)
>  		keylen = 70;
>  		break;
>  	default:
> -		pr_debug("%s: Invalid data length %lu\n", __func__, datalen);
> +		pr_debug("%s: Invalid data length %u\n", __func__, datalen);

It's still the wrong specifier. size_t should use %zu. I folded that in,
pushed out to nvme-6.19.



More information about the Linux-nvme mailing list