summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-06-28 15:16:48 +0200
committerJens Axboe <axboe@kernel.dk>2024-06-28 18:25:00 +0200
commitf1e46758e8b2b04c725ac706b5f455c0de0486a4 (patch)
tree3f1d22b6567f8e2cdd94126d7aba314dc9786d4a /block
parentloop: Fix a race between loop detach and loop open (diff)
downloadlinux-f1e46758e8b2b04c725ac706b5f455c0de0486a4.tar.xz
linux-f1e46758e8b2b04c725ac706b5f455c0de0486a4.zip
bcache: work around a __bitwise to bool conversion sparse warning
Sparse is a bit dumb about bitwise operation on __bitwise types used in boolean contexts. Add a !! to explicitly propagate to boolean without a warning. Fixes: fcf865e357f8 ("block: convert features and flags to __bitwise types") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Kent Overstreet <kent.overstreet@linux.dev> Link: https://lore.kernel.org/r/20240628131657.667797-1-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions