From: Patrick McHardy <[EMAIL PROTECTED]> Date: Mon, 18 Feb 2008 22:17:27 +0100
> The way pr_debug is implemented it still results in two function > calls per packet since the compiler doesn't know that it doesn't > have visible side-effects besides modifying the (unused) buffer. > I confirmed this using codiff. That's a bug. I think we can fix this easily by using __attribute_const_ on the print_mac() declaration. Let me play with that. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html