On Fri, Nov 18, 2011 at 2:34 PM, John W. Linville <linville@xxxxxxxxxxxxx> wrote: > On Fri, Nov 18, 2011 at 02:26:21PM -0800, Joe Perches wrote: >> On Fri, 2011-11-18 at 15:54 -0500, John W. Linville wrote: >> > The way the compat-* header files are included causes the default >> > pr_fmt definition from <linux/kernel.h> to be evaluated for every file. >> > Files that define pr_fmt then generate a lot of build SPAM about >> > pr_fmt being redefined. >> > >> > Eliminate the build noise by preemptively undefining pr_fmt in those >> > files that define it. This is accomplished by adding a patch to the >> > patches directory. >> >> Why not undef pr_fmt after the compat-* headers? > > That caused a build break. IIRC, not everyone that uses pr_* > defines pr_fmt. If pr_fmt is undef'd then they don't compile. Hm, would it work if we undef but then define it? Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html