Re: [PATCH 08/16] bcache: Fix a compiler warning in bcache_device_init()
From: Michael Lyle <hidden>
Date: 2018-03-16 18:44:24
From: Michael Lyle <hidden>
Date: 2018-03-16 18:44:24
On Thu, Mar 15, 2018 at 8:08 AM, Bart Van Assche [off-list ref] wrote:
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)) {
^
Signed-off-by: Bart Van Assche <redacted>LGTM, applying.