From: Jeffrey <Jeffrey.Brown@xxxxxxxxxx> Changed the camel cases in the static void device_changestate_responders cmdId -> cmdid busNo -> busno devNo -> devno responseState -> responsestate Signed-off-by: Jeffrey Brown <Jeffrey.Brown@xxxxxxxxxx> --- .../staging/unisys/visorchipset/visorchipset_main.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c index 69ff88a..fa708d3 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset_main.c +++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c @@ -870,32 +870,32 @@ bus_responder(enum controlvm_id cmdid, ulong busno, int response) } static void -device_changestate_responder(enum controlvm_id cmdId, - ulong busNo, ulong devNo, int response, - struct spar_segment_state responseState) +device_changestate_responder(enum controlvm_id cmdid, + ulong busno, ulong devno, int response, + struct spar_segment_state responsestate) { struct visorchipset_device_info *p = NULL; struct controlvm_message outmsg; - p = finddevice(&devinfolist, busNo, devNo); + p = finddevice(&devinfolist, busno, devno); if (!p) { - LOGERR("internal error; busNo=%lu, devNo=%lu", busNo, devNo); + LOGERR("internal error; busNo=%lu, devNo=%lu", busno, devno); return; } if (p->pending_msg_hdr.id == CONTROLVM_INVALID) { LOGERR("device_responder no pending msg"); return; /* no controlvm response needed */ } - if (p->pending_msg_hdr.id != cmdId) { - LOGERR("expected=%d, found=%d", cmdId, p->pending_msg_hdr.id); + if (p->pending_msg_hdr.id != cmdid) { + LOGERR("expected=%d, found=%d", cmdid, p->pending_msg_hdr.id); return; } controlvm_init_response(&outmsg, &p->pending_msg_hdr, response); - outmsg.cmd.device_change_state.bus_no = busNo; - outmsg.cmd.device_change_state.dev_no = devNo; - outmsg.cmd.device_change_state.state = responseState; + outmsg.cmd.device_change_state.bus_no = busno; + outmsg.cmd.device_change_state.dev_no = devno; + outmsg.cmd.device_change_state.state = responsestate; if (!visorchannel_signalinsert(controlvm_channel, CONTROLVM_QUEUE_REQUEST, &outmsg)) { -- 1.8.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel