aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorBreno Leitao <[email protected]>2023-05-04 05:18:56 -0700
committerJens Axboe <[email protected]>2023-05-04 08:19:05 -0600
commitd2b7fa6174bc4260e496cbf84375c73636914641 (patch)
treecd92c6206f466887380e171355b8c0304db9e3e9 /lib/mpi/mpi-mod.c
parentfd9b8547bc5c34186dc42ea05fb4380d21695374 (diff)
io_uring: Remove unnecessary BUILD_BUG_ON
In the io_uring_cmd_prep_async() there is an unnecessary compilation time check to check if cmd is correctly placed at field 48 of the SQE. This is unnecessary, since this check is already in place at io_uring_init(): BUILD_BUG_SQE_ELEM(48, __u64, addr3); Remove it and the uring_cmd_pdu_size() function, which is not used anymore. Keith started a discussion about this topic in the following thread: Link: https://lore.kernel.org/lkml/[email protected]/ Signed-off-by: Breno Leitao <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions