Commit 87408fe0 authored by Zachary Dremann's avatar Zachary Dremann Committed by Greg Kroah-Hartman

staging: unisys: visorbus: use __func__ over hardcoded name

As reported by checkpatch.pl, replace hardcoded uses of the current
function's name in format strings with uses of __func__.
Signed-off-by: default avatarZachary Dremann <dremann@gmail.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b372fee1
......@@ -581,7 +581,7 @@ visorbus_create(struct controlvm_message *inmsg)
bus_info = visorbus_get_device_by_id(bus_no, BUS_ROOT_DEVICE, NULL);
if (bus_info && (bus_info->state.created == 1)) {
dev_err(&chipset_dev->acpi_device->dev,
"failed visorbus_create: already exists\n");
"failed %s: already exists\n", __func__);
err = -EEXIST;
goto err_respond;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment