diff options
author | 2024-03-06 10:57:33 -0700 | |
---|---|---|
committer | 2024-03-08 07:56:31 -0700 | |
commit | fb6328bc2ab58dcf2998bd173f1ef0f3eb7be19a (patch) | |
tree | 6c48a69b65feecc8f7d99f76417540764f277454 /scripts/generate_rust_analyzer.py | |
parent | io_uring/kbuf: rename REQ_F_PARTIAL_IO to REQ_F_BL_NO_RECYCLE (diff) | |
download | linux-rng-fb6328bc2ab58dcf2998bd173f1ef0f3eb7be19a.tar.xz linux-rng-fb6328bc2ab58dcf2998bd173f1ef0f3eb7be19a.zip |
io_uring/net: simplify msghd->msg_inq checking
Just check for larger than zero rather than check for non-zero and
not -1. This is easier to read, and also protects against any errants
< 0 values that aren't -1.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions