[PATCH v2 2/2] nvme: avoid memset for passthrough requests

Kanchan Joshi joshiiitr at gmail.com
Fri Apr 23 13:50:42 BST 2021


On Fri, Apr 23, 2021 at 12:25 AM Chaitanya Kulkarni
<Chaitanya.Kulkarni at wdc.com> wrote:
>
> On 4/22/21 05:18, Kanchan Joshi wrote:
> > +             memset(cmd, 0, sizeof(struct nvme_command));
>
> The original code uses following :-
>
> -       memset(cmd, 0, sizeof(*cmd));
>
>
> Let's not change that.

Ok, I'll change and repost.

-- 
Joshi



More information about the Linux-nvme mailing list