]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
io_uring: remove errant ';' from IORING_CQE_F_TSTAMP_HW definition
authorJens Axboe <axboe@kernel.dk>
Mon, 30 Jun 2025 17:36:54 +0000 (11:36 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 30 Jun 2025 17:36:54 +0000 (11:36 -0600)
commit94b2030968be70b33fed9a5514a5967c7f20aebc
treebd285e37056720520b2f02470b48011846608b77
parent9e4ed359b8efad0e8ad4510d8ad22bf0b060526a
io_uring: remove errant ';' from IORING_CQE_F_TSTAMP_HW definition

An errant ';' slipped into that definition, which will cause some
compilers to complain when it's used in an application:

timestamp.c:257:45: error: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Werror,-Wextra-semi-stmt]
  257 |                 hwts = cqe->flags & IORING_CQE_F_TSTAMP_HW;
      |                                                           ^

Fixes: 9e4ed359b8ef ("io_uring/netcmd: add tx timestamping cmd support")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/io_uring.h