projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
291b282
)
io_uring: io_kiocb_ppos() style change
author
Pavel Begunkov
<asml.silence@gmail.com>
Wed, 30 Sep 2020 19:57:15 +0000
(22:57 +0300)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 1 Oct 2020 02:38:45 +0000
(20:38 -0600)
Put brackets around bitwise ops in a complex expression
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
patch
|
blob
|
history
diff --git
a/fs/io_uring.c
b/fs/io_uring.c
index
cdd5946
..
513b3a5
100644
(file)
--- a/
fs/io_uring.c
+++ b/
fs/io_uring.c
@@
-3008,7
+3008,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;
}
/*