From: Jeffrey <Jeffrey.Brown@xxxxxxxxxx> Fixed all camel cases in the static void bus_epilog busNo -> busno msgHdr -> msghdr needResponse -> needresponse pBusInfo -> pbusinfo Signed-off-by: Jeffrey Brown <Jeffrey.Brown@xxxxxxxxxx> --- .../unisys/visorchipset/visorchipset_main.c | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c index f54d6c6..26cfb59 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset_main.c +++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c @@ -940,23 +940,23 @@ device_responder(enum controlvm_id cmdid, ulong busno, ulong devno, } static void -bus_epilog(u32 busNo, - u32 cmd, struct controlvm_message_header *msgHdr, - int response, BOOL needResponse) +bus_epilog(u32 busno, + u32 cmd, struct controlvm_message_header *msghdr, + int response, BOOL needresponse) { BOOL notified = FALSE; - struct visorchipset_bus_info *pBusInfo = findbus(&businfolist, busNo); + struct visorchipset_bus_info *pbusinfo = findbus(&businfolist, busno); - if (!pBusInfo) { - LOGERR("HUH? bad busNo=%d", busNo); + if (!pbusinfo) { + LOGERR("HUH? bad busNo=%d", busno); return; } - if (needResponse) { - memcpy(&pBusInfo->pending_msg_hdr, msgHdr, + if (needresponse) { + memcpy(&pbusinfo->pending_msg_hdr, msghdr, sizeof(struct controlvm_message_header)); } else { - pBusInfo->pending_msg_hdr.id = CONTROLVM_INVALID; + pbusinfo->pending_msg_hdr.id = CONTROLVM_INVALID; } down(¬ifierlock); if (response == CONTROLVM_RESP_SUCCESS) { @@ -973,23 +973,23 @@ bus_epilog(u32 busNo, * - BusDev_Client can handle ONLY client * devices */ if (busdev_server_notifiers.bus_create) { - (*busdev_server_notifiers.bus_create) (busNo); + (*busdev_server_notifiers.bus_create) (busno); notified = TRUE; } - if ((!pBusInfo->flags.server) /*client */ && + if ((!pbusinfo->flags.server) /*client */ && busdev_client_notifiers.bus_create) { - (*busdev_client_notifiers.bus_create) (busNo); + (*busdev_client_notifiers.bus_create) (busno); notified = TRUE; } break; case CONTROLVM_BUS_DESTROY: if (busdev_server_notifiers.bus_destroy) { - (*busdev_server_notifiers.bus_destroy) (busNo); + (*busdev_server_notifiers.bus_destroy) (busno); notified = TRUE; } - if ((!pBusInfo->flags.server) /*client */ && + if ((!pbusinfo->flags.server) /*client */ && busdev_client_notifiers.bus_destroy) { - (*busdev_client_notifiers.bus_destroy) (busNo); + (*busdev_client_notifiers.bus_destroy) (busno); notified = TRUE; } break; @@ -1002,7 +1002,7 @@ bus_epilog(u32 busNo, */ ; else - bus_responder(cmd, busNo, response); + bus_responder(cmd, busno, response); up(¬ifierlock); } -- 1.8.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel