iwlwifi: don't mess up the SCD when removing a key
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / net / wireless / ath / main.c
index ea2c737138d3af4041ccceb1f3f8780d20af1519..8e99540cd90e59fdbbf38d48e6f618ad898ec4e0 100644 (file)
@@ -14,6 +14,8 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
 #include <linux/kernel.h>
 #include <linux/module.h>
 
@@ -49,7 +51,7 @@ struct sk_buff *ath_rxbuf_alloc(struct ath_common *common,
                if (off != 0)
                        skb_reserve(skb, common->cachelsz - off);
        } else {
-               printk(KERN_ERR "skbuff alloc of size %u failed\n", len);
+               pr_err("skbuff alloc of size %u failed\n", len);
                return NULL;
        }