Changing nvme_passthru_cmd64 to add a field: rsvd2. This field is an explicit marker for the padding space added on certain platforms as a result of the enlargement of the result field from 32 bit to 64 bits in size, and fixes differences in struct size when using compat ioctl for 32-bit binaries on 64-bit architecture.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -63,6 +63,7 @@ struct nvme_passthru_cmd64 { · 62 unmodified lines | |||
| 63 | __u32 cdw14; | 63 | __u32 cdw14; |
| 64 | __u32 cdw15; | 64 | __u32 cdw15; |
| 65 | __u32 timeout_ms; | 65 | __u32 timeout_ms; |
| 66 | __u32 rsvd2; | ||
| 66 | __u64 result; | 67 | __u64 result; |
| 67 | }; | 68 | }; |
| 68 | 69 | ||