diff options
author | Bart Van Assche <[email protected]> | 2018-03-18 17:36:33 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2018-03-18 20:15:20 -0600 |
commit | 5f2b18ec8e1643410a2369f06888951cdedea0bf (patch) | |
tree | 19fffc596284b0b162301b0020a2c873ee5d6ed5 /lib/net_utils.c | |
parent | 20d3a518713e394efa5a899c84574b4b79ec5098 (diff) |
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 <[email protected]>
Reviewed-by: Michael Lyle <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions