Put brackets around bitwise ops in a complex expression Signed-off-by: Pavel Begunkov <asml.silence@xxxxxxxxx> --- fs/io_uring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/io_uring.c b/fs/io_uring.c index 7ee5e18218c2..631648dd63ac 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -2915,7 +2915,7 @@ static ssize_t io_import_iovec(int rw, struct io_kiocb *req, static inline loff_t *io_kiocb_ppos(struct kiocb *kiocb) { - return kiocb->ki_filp->f_mode & FMODE_STREAM ? NULL : &kiocb->ki_pos; + return (kiocb->ki_filp->f_mode & FMODE_STREAM) ? NULL : &kiocb->ki_pos; } /* -- 2.24.0