aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/altera-fpga2sdram.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-06 10:57:33 -0700
committerJens Axboe <axboe@kernel.dk>2024-03-08 07:56:31 -0700
commitfb6328bc2ab58dcf2998bd173f1ef0f3eb7be19a (patch)
tree6c48a69b65feecc8f7d99f76417540764f277454 /drivers/fpga/altera-fpga2sdram.c
parent186daf2385295acf19ecf48f4d5214cc2d925933 (diff)
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/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions