I'm seeing the following sparse warnings where the declaration has __pure but the implementation does not.
lib/bitmap.c:62:6: error: symbol '__bitmap_or_equal' redeclared with different type (originally declared at ./include/linux/bitmap.h:123) - different modifiers
is this a valid warning? if not, should sparse be ignoring these. Note:
include/linux/bitmap.h:extern bool __pure __bitmap_or_equal(const unsigned long *src1, lib/bitmap.c:bool __bitmap_or_equal(const unsigned long *bitmap1,
-- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius https://www.codethink.co.uk/privacy.html