diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-03-06 20:57:33 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-03-08 17:56:31 +0300 |
commit | fb6328bc2ab58dcf2998bd173f1ef0f3eb7be19a (patch) | |
tree | 6c48a69b65feecc8f7d99f76417540764f277454 /drivers/fpga | |
parent | 186daf2385295acf19ecf48f4d5214cc2d925933 (diff) | |
download | linux-fb6328bc2ab58dcf2998bd173f1ef0f3eb7be19a.tar.xz |
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 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions