aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/block
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-03-18 17:36:33 -0700
committerJens Axboe <axboe@kernel.dk>2018-03-18 20:15:20 -0600
commit5f2b18ec8e1643410a2369f06888951cdedea0bf (patch)
tree19fffc596284b0b162301b0020a2c873ee5d6ed5 /block
parentbcache: Reduce the number of sparse complaints about lock imbalances (diff)
downloadwireguard-linux-5f2b18ec8e1643410a2369f06888951cdedea0bf.tar.xz
wireguard-linux-5f2b18ec8e1643410a2369f06888951cdedea0bf.zip
bcache: Fix a compiler warning in bcache_device_init()
Avoid that building with W=1 triggers the following compiler warning: drivers/md/bcache/super.c:776:20: warning: comparison is always false due to limited range of data type [-Wtype-limits] d->nr_stripes > SIZE_MAX / sizeof(atomic_t)) { ^ Reviewed-by: Coly Li <colyli@suse.de> Reviewed-by: Michael Lyle <mlyle@lyle.org> Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions