On Tue, 2012-01-17 at 21:04 -0600, Larry Finger wrote: > Although the rtlwifi family of devices contains 11 copies of the pr_fmt > macro, the macro is not defined for all routines that need it. By moving > the macro to wifi.h, a single copy is available for all routines. [] > +++ wireless-testing-new/drivers/net/wireless/rtlwifi/wifi.h > @@ -172,6 +172,8 @@ enum hardware_type { > _pdesc->rxmcs == DESC92_RATE5_5M || \ > _pdesc->rxmcs == DESC92_RATE11M) > > +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt This #define should be before any #include of kernel.h/printk.h or any other #include that might use it indirectly. -- 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