[PATCH] nvme: fix incorrect sizeof

Caleb Sander Mateos csander at purestorage.com
Tue May 6 11:09:07 PDT 2025


On Tue, May 6, 2025 at 11:05 AM Kanchan Joshi <joshi.k at samsung.com> 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>

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



More information about the Linux-nvme mailing list