From patchwork Tue Sep 26 18:50:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Limonciello, Mario" X-Patchwork-Id: 9972555 X-Patchwork-Delegate: dvhart@infradead.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 321CA6037E for ; Tue, 26 Sep 2017 18:52:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 228DC28D6C for ; Tue, 26 Sep 2017 18:52:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 16CFD28F8A; Tue, 26 Sep 2017 18:52:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 90D4028F86 for ; Tue, 26 Sep 2017 18:52:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031673AbdIZSuZ (ORCPT ); Tue, 26 Sep 2017 14:50:25 -0400 Received: from esa6.dell-outbound.iphmx.com ([68.232.149.229]:56583 "EHLO esa6.dell-outbound.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967886AbdIZSuX (ORCPT ); Tue, 26 Sep 2017 14:50:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dell.com; i=@dell.com; q=dns/txt; s=smtpout; t=1506451823; x=1537987823; h=from:to:cc:subject:date:message-id; bh=F1p6M+OP4jSkn33kPU9LICZHI0po+aODtGDr9Ipv9Ag=; b=A3ABuQ74bJgULtxXcj5JMlHhpamLRlxGv7PiGbyoGUbMKyB2DdCvlInP rdDMavhxCYxSra9UBnQJ6Y001LTsNxHo8+2zEZsdHhsosWPBDtAT9Cyed lim80ashIgq5knufA60x1zE8Ylp3ZrKeds560WviASbiEUS3upBW10lhZ I=; Received: from esa4.dell-outbound2.iphmx.com ([68.232.154.98]) by esa6.dell-outbound.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2017 13:50:22 -0500 Received: from ausc60pc101.us.dell.com ([143.166.85.206]) by esa4.dell-outbound2.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2017 00:50:22 +0600 X-LoopCount0: from 10.208.86.39 X-IronPort-AV: E=Sophos;i="5.42,441,1500958800"; d="scan'208";a="1157572848" X-DLP: DLP_GlobalPCIDSS From: Mario Limonciello To: dvhart@infradead.org, Andy Shevchenko Cc: LKML , platform-driver-x86@vger.kernel.org, quasisec@google.com, pali.rohar@gmail.com, Mario Limonciello Subject: [PATCH v2 04/14] platform/x86: dell-smbios: Add pr_fmt definition to driver Date: Tue, 26 Sep 2017 13:50:02 -0500 Message-Id: <07ad38ebb4f6cfec06656fa025b0da449b429a28.1506451187.git.mario.limonciello@dell.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP pr_fmt provides formatting to be used by the driver when displaying errors and messages. Reviewed-by: Pali Pohar Signed-off-by: Mario Limonciello --- drivers/platform/x86/dell-smbios.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/dell-smbios.c b/drivers/platform/x86/dell-smbios.c index 6654ad44a04c..579be67de2a3 100644 --- a/drivers/platform/x86/dell-smbios.c +++ b/drivers/platform/x86/dell-smbios.c @@ -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 #include