io_uring: parenthesize io_ring_head_to_buf() expansion
authorYi Xie <xieyi@kylinos.cn>
Thu, 14 May 2026 08:34:43 +0000 (16:34 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 May 2026 13:21:32 +0000 (07:21 -0600)
commitc84701cfc90a90a6a9dfbdb138706a6d79f5b186
tree038573b10fb8df8c9c1c62b01030ca8fa27cdab8
parent5d6919055dec134de3c40167a490f33c74c12581
io_uring: parenthesize io_ring_head_to_buf() expansion

Wrap the io_ring_head_to_buf() macro value in an extra pair of parentheses
so it is safe when composed into larger expressions, and to satisfy
scripts/checkpatch.pl.

Signed-off-by: Yi Xie <xieyi@kylinos.cn>
Link: https://patch.msgid.link/20260514083443.203387-1-xieyi@kylinos.cn
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/kbuf.c