Message ID | 2caa4c913579464bbfdf06b36001ffc9@TGXML281.toshiba.local |
---|---|
State | New, archived |
Headers | show |
Series |
|
Related | show |
We can't just change the existing structure, instead we'll need a compat handler for the 32-bit x86 case.
>We can't just change the existing structure, instead we'll need >a compat handler for the 32-bit x86 case. Thank you for your comment. OK. I'll recreate this patch which adds a handler for compat_ioctl, not to change the existing structure.
diff --git a/include/uapi/linux/nvme_ioctl.h b/include/uapi/linux/nvme_ioctl.h index d99b5a772698..a50ea474c21a 100644 --- a/include/uapi/linux/nvme_ioctl.h +++ b/include/uapi/linux/nvme_ioctl.h @@ -14,7 +14,7 @@ struct nvme_user_io { __u8 flags; __u16 control; __u16 nblocks; - __u16 rsvd; + __u16 rsvd1; __u64 metadata; __u64 addr; __u64 slba; @@ -22,6 +22,7 @@ struct nvme_user_io { __u32 reftag; __u16 apptag; __u16 appmask; + __u32 rsvd2; }; struct nvme_passthru_cmd {