| commit | 32c2d33e0b7c4ea53284d5d9435dd022b582c8cf | [log] [tgz] | 
|---|---|---|
| author | Hao Xu <haoxu@linux.alibaba.com> | Tue Sep 07 11:22:43 2021 +0800 | 
| committer | Jens Axboe <axboe@kernel.dk> | Fri Sep 10 06:24:51 2021 -0600 | 
| tree | 12b82b86bc5b144d6284bf845595223e7d5ab719 | |
| parent | 2ae2eb9dde18979b40629dd413b9adbd6c894cdf [diff] | 
io_uring: fix off-by-one in BUILD_BUG_ON check of __REQ_F_LAST_BIT Build check of __REQ_F_LAST_BIT should be larger than, not equal or larger than. It's perfectly valid to have __REQ_F_LAST_BIT be 32, as that means that the last valid bit is 31 which does fit in the type. Signed-off-by: Hao Xu <haoxu@linux.alibaba.com> Link: https://lore.kernel.org/r/20210907032243.114190-1-haoxu@linux.alibaba.com Signed-off-by: Jens Axboe <axboe@kernel.dk>