diff options
author | Randy Dunlap <[email protected]> | 2020-02-05 20:57:10 -0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-02-06 13:41:00 -0700 |
commit | e1d85334d62386e9503e4a0d5d022e2d8e0011a0 (patch) | |
tree | 05b032d0fdabdea41f6f93889d6668908bf4e946 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
parent | 1cb1edb2f5ba8a3e8d47ded391007c6fe3ac0ad7 (diff) |
io_uring: fix 1-bit bitfields to be unsigned
Make bitfields of size 1 bit be unsigned (since there is no room
for the sign bit).
This clears up the sparse warnings:
CHECK ../fs/io_uring.c
../fs/io_uring.c:207:50: error: dubious one-bit signed bitfield
../fs/io_uring.c:208:55: error: dubious one-bit signed bitfield
../fs/io_uring.c:209:63: error: dubious one-bit signed bitfield
../fs/io_uring.c:210:54: error: dubious one-bit signed bitfield
../fs/io_uring.c:211:57: error: dubious one-bit signed bitfield
Found by sight and then verified with sparse.
Fixes: 69b3e546139a ("io_uring: change io_ring_ctx bool fields into bit fields")
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: [email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions