Commit 32c2d33
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>1 parent 2ae2eb9 commit 32c2d33
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10863 | 10863 | | |
10864 | 10864 | | |
10865 | 10865 | | |
10866 | | - | |
| 10866 | + | |
10867 | 10867 | | |
10868 | 10868 | | |
10869 | 10869 | | |
| |||
0 commit comments