From: Jeffrey <Jeffrey.Brown@xxxxxxxxxx> Changed the camel cases in the static void bus_destroy busNo -> busno pBusInfo -> pbusinfo Away -> cleanups Signed-off-by: Jeffrey Brown <Jeffrey.Brown@xxxxxxxxxx> --- .../unisys/visorchipset/visorchipset_main.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c index 2c2a018..42eeaf9 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset_main.c +++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c @@ -1163,25 +1163,25 @@ static void bus_destroy(struct controlvm_message *inmsg) { struct controlvm_message_packet *cmd = &inmsg->cmd; - ulong busNo = cmd->destroy_bus.bus_no; - struct visorchipset_bus_info *pBusInfo; + ulong busno = cmd->destroy_bus.bus_no; + struct visorchipset_bus_info *pbusinfo; int rc = CONTROLVM_RESP_SUCCESS; - pBusInfo = findbus(&businfolist, busNo); - if (!pBusInfo) { - LOGERR("CONTROLVM_BUS_DESTROY Failed: bus %lu invalid", busNo); + pbusinfo = findbus(&businfolist, busno); + if (!pbusinfo) { + LOGERR("CONTROLVM_BUS_DESTROY Failed: bus %lu invalid", busno); rc = -CONTROLVM_RESP_ERROR_BUS_INVALID; - goto Away; + goto cleanups; } - if (pBusInfo->state.created == 0) { + if (pbusinfo->state.created == 0) { LOGERR("CONTROLVM_BUS_DESTROY Failed: bus %lu already destroyed", - busNo); + busno); rc = -CONTROLVM_RESP_ERROR_ALREADY_DONE; - goto Away; + goto cleanups; } -Away: - bus_epilog(busNo, CONTROLVM_BUS_DESTROY, &inmsg->hdr, +cleanups: + bus_epilog(busno, CONTROLVM_BUS_DESTROY, &inmsg->hdr, rc, inmsg->hdr.flags.response_expected == 1); } -- 1.8.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel