]> git.hungrycats.org Git - linux/commit
io_uring: fix casts to io_req_flags_t
authorMin-Hua Chen <minhuadotchen@gmail.com>
Sun, 22 Sep 2024 10:41:29 +0000 (18:41 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 24 Sep 2024 19:31:04 +0000 (13:31 -0600)
commit17ea56b752b6ba58fdd1fcfd24f0fd2fa2b0ade2
treedd15b930ecd6c1d01afee1f562a8533a8c7b0cf8
parent3a87e264290d71ec86a210ab3e8d23b715ad266d
io_uring: fix casts to io_req_flags_t

Apply __force cast to restricted io_req_flags_t type to fix
the following sparse warning:

io_uring/io_uring.c:2026:23: sparse: warning: cast to restricted io_req_flags_t

No functional changes intended.

Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com>
Link: https://lore.kernel.org/r/20240922104132.157055-1-minhuadotchen@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c