This series teaches sparse to be as strict with enums as with structs & unions instead of considering them as equivalent to integers. The 1st patch is purely aesthetical, the meat is in the 3rd one. Surprisingly, this fix reveals ~200 enum/int errors/abuses in the kernel, some (or most) clearly trying to workaround the problem with bitwise & enum at the origin of this series. Luc Van Oostenryck (3): fix show typename of enums add testcase for enum / int type difference fix enum typing evaluate.c | 5 ++- show-parse.c | 2 +- validation/enum-mismatch.c | 4 +- validation/typediff-enum.c | 82 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 88 insertions(+), 5 deletions(-) create mode 100644 validation/typediff-enum.c -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html