[PATCH] nvme: fix incorrect sizeof

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


On Tue, May 6, 2025 at 11:09 AM Jens Axboe <axboe at kernel.dk> wrote:
>
> 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>
>
> ?

Yeah, if you wouldn't mind, I'd appreciate that.

Best,
Caleb



More information about the Linux-nvme mailing list