]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
platform/x86: dell-smbios: Add pr_fmt definition to driver
authorMario Limonciello <mario.limonciello@dell.com>
Tue, 26 Sep 2017 18:50:02 +0000 (13:50 -0500)
committerDarren Hart (VMware) <dvhart@infradead.org>
Wed, 27 Sep 2017 21:57:43 +0000 (14:57 -0700)
pr_fmt provides formatting to be used by the driver when
displaying errors and messages.

Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Reviewed-by: Pali Pohar <pali.rohar@gmail.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/dell-smbios.c

index 0a5723468bfffdd6f16df829e5131c90d7e38034..e9b1ca07c87279268e26fc23b472eb7377389c24 100644 (file)
@@ -12,6 +12,7 @@
  *  it under the terms of the GNU General Public License version 2 as
  *  published by the Free Software Foundation.
  */
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
 #include <linux/kernel.h>
 #include <linux/module.h>