浏览代码

sparc64: Add missing pr_fmt define to crypto opcode drivers.

The hashes and crc32c had it, only the AES/DES/CAMELLIA drivers were
missing it.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 13 年之前
父节点
当前提交
71741680a9
共有 3 个文件被更改,包括 6 次插入0 次删除
  1. 2 0
      arch/sparc/crypto/aes_glue.c
  2. 2 0
      arch/sparc/crypto/camellia_glue.c
  3. 2 0
      arch/sparc/crypto/des_glue.c

+ 2 - 0
arch/sparc/crypto/aes_glue.c

@@ -14,6 +14,8 @@
  *    Copyright (c) 2010, Intel Corporation.
  */
 
+#define pr_fmt(fmt)	KBUILD_MODNAME ": " fmt
+
 #include <linux/crypto.h>
 #include <linux/init.h>
 #include <linux/module.h>

+ 2 - 0
arch/sparc/crypto/camellia_glue.c

@@ -3,6 +3,8 @@
  * Copyright (C) 2012 David S. Miller <davem@davemloft.net>
  */
 
+#define pr_fmt(fmt)	KBUILD_MODNAME ": " fmt
+
 #include <linux/crypto.h>
 #include <linux/init.h>
 #include <linux/module.h>

+ 2 - 0
arch/sparc/crypto/des_glue.c

@@ -3,6 +3,8 @@
  * Copyright (C) 2012 David S. Miller <davem@davemloft.net>
  */
 
+#define pr_fmt(fmt)	KBUILD_MODNAME ": " fmt
+
 #include <linux/crypto.h>
 #include <linux/init.h>
 #include <linux/module.h>