kbuild test robot <lkp(a)intel.com> wrote:
In file included from include/linux/export.h:43:0,
from include/linux/linkage.h:7,
from include/linux/kernel.h:8,
from include/linux/list.h:9,
from include/linux/module.h:12,
from fs/fscache/obj.c:12:
fs/fscache/obj.c: In function 'fscache_drop_object':
>> fs/fscache/obj.c:278:27: warning: comparison is always false due to limited
range of data type [-Wtype-limits]
ASSERTCMP(cookie->stage, ==, FSCACHE_COOKIE_STAGE_DEAD);
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
>> fs/fscache/obj.c:278:2: note: in expansion of macro 'ASSERTCMP'
ASSERTCMP(cookie->stage, ==, FSCACHE_COOKIE_STAGE_DEAD);
^
This looks like a false error. It doesn't seem to happen with more recent
gccs.
David