diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-07-08 21:25:01 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-07-08 21:25:01 +0300 |
commit | 29837019d5ebb80a5f180af3107a0645c731a770 (patch) | |
tree | e4038ffe322ab1ad81ad0404dd1ae15fd4c8e6c9 /include | |
parent | 086ff84617185393a0bbf25830c4f36412a7d3f4 (diff) | |
parent | bdb2c48e4b38e6dbe82533b437468999ba3ae498 (diff) | |
download | linux-29837019d5ebb80a5f180af3107a0645c731a770.tar.xz |
Merge tag 'io_uring-5.19-2022-07-08' of git://git.kernel.dk/linux-block
Pull io_uring tweak from Jens Axboe:
"Just a minor tweak to an addition made in this release cycle: padding
a 32-bit value that's in a 64-bit union to avoid any potential
funkiness from that"
* tag 'io_uring-5.19-2022-07-08' of git://git.kernel.dk/linux-block:
io_uring: explicit sqe padding for ioctl commands
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/io_uring.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/uapi/linux/io_uring.h b/include/uapi/linux/io_uring.h index f10b59d6693e..0ad3da28d2fc 100644 --- a/include/uapi/linux/io_uring.h +++ b/include/uapi/linux/io_uring.h @@ -22,7 +22,10 @@ struct io_uring_sqe { union { __u64 off; /* offset into file */ __u64 addr2; - __u32 cmd_op; + struct { + __u32 cmd_op; + __u32 __pad1; + }; }; union { __u64 addr; /* pointer to buffer or iovecs */ |