summary refs log tree commit diff
path: root/COPYING
diff options
context:
space:
mode:
authorXinghui Li <korantli@tencent.com>2022-11-02 16:25:03 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-11 13:55:43 +0100
commit3453b1b0439baa53fb491528e8591050534695a5 (patch)
treed566cee8f2224e79a3e387f3c3d01d8aeba6cd36 /COPYING
parent4ca25c0b74ddec3a70e605ff5582cf76f0e1383a (diff)
downloadlinux-3453b1b0439baa53fb491528e8591050534695a5.tar.gz
io_uring: fix two assignments in if conditions
commit df730ec21f7ba395b1b22e7f93a3a85b1d1b7882 upstream.

Fixes two errors:

"ERROR: do not use assignment in if condition
130: FILE: io_uring/net.c:130:
+       if (!(issue_flags & IO_URING_F_UNLOCKED) &&

ERROR: do not use assignment in if condition
599: FILE: io_uring/poll.c:599:
+       } else if (!(issue_flags & IO_URING_F_UNLOCKED) &&"
reported by checkpatch.pl in net.c and poll.c .

Signed-off-by: Xinghui Li <korantli@tencent.com>
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20221102082503.32236-1-korantwork@gmail.com
[axboe: style tweaks]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions