On Tue, Jul 12, 2011 at 03:00, Alessio Igor Bogani <abogani@xxxxxxxxxx> wrote: > +#define SEC_NAME_MATCH(name, str) (strncmp(name, str, strlen(str) - 1) == 0) Surely you meant strlen() or sizeof() - 1, not strlen() - 1? > + if (!is_vmlinux(mod->name) && strncmp(symname, "__ksymtab", 9) == 0) Same strncmp pattern here. BTW, your macro is the strstarts() function in include/linux/string.h. Anders -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html