Re: [PATCH] nvme: change nvme_passthru_cmd64's result field.

From: Christoph Hellwig
Date: Mon Nov 04 2019 - 10:30:32 EST


On Mon, Nov 04, 2019 at 07:20:43AM -0800, Charles Machalow wrote:
> The thing with that structure is if you use it with the old IOCTL, the
> result will go into rsvd2 instead of the first 32 bits of result.

But if you use the old ioctls on the new structure you can at least
expect that. And with the added explicit padding it will at least
do the right thing on 32-bit x86 as well.