I get this warning compiling 2.6.12-rc6-mm1: kernel/module.c:404: warning: `modinfo_attrs' defined but not used The attached patch fixes the warning, which I guess was sort of caused by me. I was having compilation problems on -rc5-mm2 and I sent a patch to move some definitions outside an ifdef. Now the code only uses those definitions INSIDE appropriately ifdef'd sections, so we get a warning about not using them. Bah. This should (hopefully) end this. -Matt