[PATCH] nvme: fix incorrect sizeof

Jens Axboe axboe at kernel.dk
Tue May 6 11:09:21 PDT 2025


On 5/6/25 11:56 AM, Kanchan Joshi wrote:
> Use the sizeof(*head->plids) in kcalloc so that we don't allocate extra.
> 
> Fixes: 38e8397dde63 ("nvme: use fdp streams if write stream is provided")
> Signed-off-by: Kanchan Joshi <joshi.k at samsung.com>

Reported-by: Caleb Sander Mateos <csander at purestorage.com>

?

-- 
Jens Axboe




More information about the Linux-nvme mailing list