commit | 6cc371d3fe076bcad549dbc0e1a95da8fc8085f2 | [log] [tgz] |
---|---|---|
author | Hao Xu <howeyxu@tencent.com> | Fri Jun 17 22:36:03 2022 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jun 17 08:41:45 2022 -0600 |
tree | cb812f725706153ed4f37584ac228ed7ea34f301 | |
parent | d0d9b70d4861bae77b86c05f6925e991cb6c32f1 [diff] |
test/accept: clean code of accept test This does three things: - change multishot_mask from uint to uint32_t - change multishot_mask != UINT_MAX check to ~multishot_mask != 0 The above two avoid compiler and arch influence. Make the logic more robost. - other cleaning to make code clearer. Signed-off-by: Hao Xu <howeyxu@tencent.com> Link: https://lore.kernel.org/r/20220617143603.179277-4-hao.xu@linux.dev Signed-off-by: Jens Axboe <axboe@kernel.dk>