[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CY4PR07MB31760B22F6C085B7CE5D34C9F0DD0@CY4PR07MB3176.namprd07.prod.outlook.com>
Date: Wed, 28 Jun 2017 02:33:06 +0000
From: "Kershner, David A" <David.Kershner@...sys.com>
To: Quytelda Kahja <quytelda@...alin.org>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
CC: "devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] Replace the literal function name
"visorbus_create_instance" with the format specifier "%s" so it can be
dynamically filled by the __func__ macro.
> -----Original Message-----
> From: Quytelda Kahja [mailto:quytelda@...alin.org]
> Sent: Tuesday, June 27, 2017 5:18 PM
> To: Kershner, David A <David.Kershner@...sys.com>;
> gregkh@...uxfoundation.org
> Cc: devel@...verdev.osuosl.org; linux-kernel@...r.kernel.org; Quytelda
> Kahja <quytelda@...alin.org>
> Subject: [PATCH] Replace the literal function name
> "visorbus_create_instance" with the format specifier "%s" so it can be
> dynamically filled by the __func__ macro.
I think the subject line got lost somehow, and should this have been a v2?
Subject line should start with staging: unisys: visorbus: preferably.
David Kershner
>
> Signed-off-by: Quytelda Kahja <quytelda@...alin.org>
> ---
> drivers/staging/unisys/visorbus/visorbus_main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c
> b/drivers/staging/unisys/visorbus/visorbus_main.c
> index 1c785dd19ddd..1c6dc3a3e64a 100644
> --- a/drivers/staging/unisys/visorbus/visorbus_main.c
> +++ b/drivers/staging/unisys/visorbus/visorbus_main.c
> @@ -1030,7 +1030,7 @@ visorbus_create_instance(struct visor_device
> *dev)
> err_debugfs_dir:
> debugfs_remove_recursive(dev->debugfs_dir);
> kfree(hdr_info);
> - dev_err(&dev->device, "visorbus_create_instance failed: %d\n",
> err);
> + dev_err(&dev->device, "%s failed: %d\n", __func__, err);
> return err;
> }
>
> --
> 2.13.2
Powered by blists - more mailing lists