Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751855AbdFZXdB (ORCPT ); Mon, 26 Jun 2017 19:33:01 -0400 Received: from mout.perfora.net ([74.208.4.197]:59367 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751776AbdFZXcy (ORCPT ); Mon, 26 Jun 2017 19:32:54 -0400 From: Quytelda Kahja To: david.kershner@unisys.com, gregkh@linuxfoundation.org, Timothy.Sell@unisys.com, david.binder@unisys.com Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Quytelda Kahja Subject: [PATCH] Staging: visorbus: Fix coding style warning from checkpatch.pl. Date: Mon, 26 Jun 2017 16:31:30 -0700 Message-Id: <20170626233130.5834-1-quytelda@tamalin.org> X-Mailer: git-send-email 2.13.2 X-Provags-ID: V03:K0:BmhvJzKDkvv+Op0sySknAAa07kz10MrM3hSS4ZIDcXqosjt/w+i OoMBPUgep9Lqnser5/1z8wrJf9Pi6LytxtsDa2nDwblieaAsDBqECgm1W4ml12CjVv+uSzQ MC0LA/mBsJAC1bNMgmrC7FM729QrRH98b/CXjQ32GQHvc3KjiZwroVIn/iroqvTll1L5kDh dElwyk8xTWkexztpna7QA== X-UI-Out-Filterresults: notjunk:1;V01:K0:iI/BplyJ3uo=:IDWAAkCq+8f5anhyTMTlr7 BRsWboHvMHkcbvjtpahz0HXNmSgZ5xQVzENG+UjED1Sz6rBHe3zjFoURhgZs5KPW+QsP2Crzj zwBvEq5kxxF7+GEivV+yTXW+q4chkYyqo01MGiQJ06TUTlqfOVBp/7n7YjEEW7qauuIxC8+I6 y1TLb9f9dbfjstmhLVHrKYUi/8F3MxM9HKqidKyrbK52IpJKYPi9XI7MGg9JV0wyPHGr+2yH7 U8KUAXf4EAioA9qm9zA/M3peSmJr6P85vvDGCS95WuvCBYmXLE9seVzaRC48wSjKIId2oFyxD a/ccRfAcHL7NhFSLXu9dphYGfWNyZwK4AMYTK2lhPxY1hZfYg4nN0jJAhCIBEVB8ShZ4vikNg GaDjVbaB4Fz0ej+JyoteLB2mAO7KQoyJjOs3zux26VrhHoWJG4rTrXM88V1mQtI5yMg1zaKCj czSx5lth/Yfva08WLmG1upBDGO6ed4dA92Jh6fiO5/AB6tI41auYAgkr/KEM0KaSlNakP4P47 sSb3FB73hjIh23Zd/xBWGOXTNqw4BNqCwIGzlMgGLfRJJ/taX3p5nQVM0bPokUKn4qQr0uGRo ZLigtHrj0gi0k2FtYxBMwf4RBsoErYEfhwJAYJ+jcGVna9AAX6UzmeX4QlxfwUQV8PCriL/zV wTIufY3gcngxvWurrN8dm+ZDDaqaPvtk853GvP/CW0DE6i2D25PTMpj/otBTkOX94aEA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 869 Lines: 23 Replace the literal function name "create_bus_instance" with the format specifier "%s" so it can be dynamically filled by the __func__ macro. Signed-off-by: Quytelda Kahja --- 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 a692561c81c8..b6caa7a98692 100644 --- a/drivers/staging/unisys/visorbus/visorbus_main.c +++ b/drivers/staging/unisys/visorbus/visorbus_main.c @@ -1032,7 +1032,7 @@ create_bus_instance(struct visor_device *dev) err_debugfs_dir: debugfs_remove_recursive(dev->debugfs_dir); kfree(hdr_info); - dev_err(&dev->device, "create_bus_instance failed: %d\n", err); + dev_err(&dev->device, "%s failed: %d\n", __func__, err); return err; } -- 2.13.2