[PATCH v2 2/2] nvme: avoid memset for passthrough requests
Chaitanya Kulkarni
Chaitanya.Kulkarni at wdc.com
Thu Apr 22 19:45:21 BST 2021
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.
More information about the Linux-nvme
mailing list