From patchwork Sat Sep 24 13:48:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9349183 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 07F39607F0 for ; Sat, 24 Sep 2016 13:49:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED77028F3A for ; Sat, 24 Sep 2016 13:49:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E240D291A4; Sat, 24 Sep 2016 13:49:06 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham 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 8153328F3A for ; Sat, 24 Sep 2016 13:49:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932280AbcIXNtF (ORCPT ); Sat, 24 Sep 2016 09:49:05 -0400 Received: from mout.web.de ([212.227.17.12]:58355 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758262AbcIXNtE (ORCPT ); Sat, 24 Sep 2016 09:49:04 -0400 Received: from [192.168.1.2] ([78.53.181.42]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0Lmu2K-1bJyt12ElI-00h7WT; Sat, 24 Sep 2016 15:48:55 +0200 Subject: [PATCH 3/4] Input-gameport: Add the macro "pr_fmt" for module "joydump" To: linux-input@vger.kernel.org, Dmitry Torokhov References: Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring Message-ID: <3345f7c1-b823-a819-aabf-5b4990068075@users.sourceforge.net> Date: Sat, 24 Sep 2016 15:48:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: X-Provags-ID: V03:K0:6JbAOBIeRAuQtusxNK9XgdiD9326atvLR301ygamDHOEpZw6HJd zREX6WubrfUanNITUFFU9zPLWo5n1iC5vKxWHrJy52qakBQitSPqFCpXCK7wJdmK9Hv/Oqo 16ORfxmXSFfbGIH/lMYWfe7AAxzDT/NucKsp4YHsSBbbz8in5PEIgrTKpFngilvMf/1VBTp 4pn/vm+8HrxaitefcqxJA== X-UI-Out-Filterresults: notjunk:1; V01:K0:DrRIf5sGU2M=:uqkVcGsBNTZi1WtuiBvp/k isq0RpwF39m5DOzRDxehJkfAHwiGkxBtkPJSEl4CgwegWl4xPX1eMhc7kUCGzKYw+B5S1JmZg dWnt2cB5sUcq6vS/v3MxYwv6BYcBmXcchZBIiaNhbTOlRCahwKJgjAA5ywmqeDpq82hStzV84 ilBB1JVh4kc2xdAJMbQ3jbTfKCs2Lp3/JGxWv6FwuiOdp8WlWOqSg7NS6quCbz71HhopeoFGY EGBGnXV6Gda9kGaF0T/D1TYa75bD1z9dS4tGP7bJEjN4bmUBrFMb3g/hcA42x63ZOsUtw1AEJ CBqFZqDzvO9kxhNCGGWnK5XIqIs9KLD8ZULqWZzpc8wnWVcUNhO6YWyx2NDwqNZwIggJdm73Z eUS3HZC0p+dRpXLcH7yKUDMyHBBjSvB8y/oM82AYUk4Xrw+2vdSEHznwHOfNLP3rVEJRtZz4z AiqKfokUPTXl6yxiy4sXkGlwtDJ+E4TpNnHhKmcQsv85MfNcsTEOZfRgM/mePqKdYr0TGC8qM k210HJ7M2tA/8wEOLB7d60tTXRgv+z1f12QYDvo92i1grCNtxFakcCESgWYiT8iUwYQC28Rh6 JWWE/+JRhjoJkYAmfuVg8KHjDlok0BZEfdSuda478I6URJuTnvk3SJqJxE1ajnaQmoppu527N YaXrXsELtJBHbzYrWEnLEn/0OTb59FPyjZO6wgly5L3MrgJAtvwMooR2rqFe768UfIfQXsU6S DIGC6KiwutXtA6eHWhNMZrBzFNd21xL4uNRH5huSNZzUufjFWGoQ2r5sJUpIYGDni/lo3U+X+ CACM9P0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Sat, 24 Sep 2016 14:30:44 +0200 Add a definition for the macro "pr_fmt" so that its information can be used for consistent message output. Signed-off-by: Markus Elfring --- drivers/input/joystick/joydump.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/input/joystick/joydump.c b/drivers/input/joystick/joydump.c index f9f6cbe..a38f10e 100644 --- a/drivers/input/joystick/joydump.c +++ b/drivers/input/joystick/joydump.c @@ -27,6 +27,8 @@ * Vojtech Pavlik, Simunkova 1594, Prague 8, 182 00 Czech Republic */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include #include #include