Hi list, I was just building util-linux with clang to see how it's static code analysis works. Here's what I got so far, I'm not sure about it's correctness, so excuse me if it's stupid. CC dev.lo clang: warning: unknown warning option '-Wmissing-parameter-type'; did you mean '-Wmissing-prototypes'? clang: warning: unknown warning option '-Wunused-but-set-parameter'; did you mean '-Wunused-parameter'? clang: warning: unknown warning option '-Wunused-but-set-variable'; did you mean '-Wunused-variable'? dev.c:91:16: warning: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'p') list_for_each(p, &dev->bid_tags) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../include/list.h:179:48: note: expanded from macro 'list_for_each' for (pos = (head)->next; pos != (head); pos = pos->next) ^ 1 warning generated. Best regards, Mark -- Marek Otahal :o) -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html