]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add BUILD_BUG_ON() to assert the layout of struct io_uring_sqe
authorStefan Metzmacher <metze@samba.org>
Wed, 29 Jan 2020 13:39:41 +0000 (14:39 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 30 Jan 2020 19:40:37 +0000 (12:40 -0700)
commitebf3a062582100e3bac6cebea0620f0d39b122b2
tree6fbe64b86ea2953b28059a6d762d890d7f67dd29
parent0045669fc27b700a04d98c79e66c33e5bf709a14
io_uring: add BUILD_BUG_ON() to assert the layout of struct io_uring_sqe

With nesting of anonymous unions and structs it's hard to
review layout changes. It's better to ask the compiler
for these things.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c