Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7166ed19 authored by Benjamin Romer's avatar Benjamin Romer Committed by Greg Kroah-Hartman
Browse files

staging: unisys: fix CamelCased ControlVM globals



Fix the CamelCase global names:

ControlVm_Pending_Msg => controlvm_pending_msg
ControlVm_Pending_Msg_Valid => controlvm_pending_msg_valid

Update all references to use the corrected names.

Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3e37a030
Loading
Loading
Loading
Loading
+7 −7
Original line number Original line Diff line number Diff line
@@ -125,8 +125,8 @@ static struct livedump_info {
 * this scenario, we simply stash the controlvm message, then attempt to
 * this scenario, we simply stash the controlvm message, then attempt to
 * process it again the next time controlvm_periodic_work() runs.
 * process it again the next time controlvm_periodic_work() runs.
 */
 */
static struct controlvm_message ControlVm_Pending_Msg;
static struct controlvm_message controlvm_pending_msg;
static BOOL ControlVm_Pending_Msg_Valid = FALSE;
static BOOL controlvm_pending_msg_valid = FALSE;


/* Pool of struct putfile_buffer_entry, for keeping track of pending (incoming)
/* Pool of struct putfile_buffer_entry, for keeping track of pending (incoming)
 * TRANSMIT_FILE PutFile payloads.
 * TRANSMIT_FILE PutFile payloads.
@@ -1791,13 +1791,13 @@ controlvm_periodic_work(struct work_struct *work)
					 &inmsg))
					 &inmsg))
		;
		;
	if (!got_command) {
	if (!got_command) {
		if (ControlVm_Pending_Msg_Valid) {
		if (controlvm_pending_msg_valid) {
			/* we throttled processing of a prior
			/* we throttled processing of a prior
			* msg, so try to process it again
			* msg, so try to process it again
			* rather than reading a new one
			* rather than reading a new one
			*/
			*/
			inmsg = ControlVm_Pending_Msg;
			inmsg = controlvm_pending_msg;
			ControlVm_Pending_Msg_Valid = FALSE;
			controlvm_pending_msg_valid = FALSE;
			got_command = true;
			got_command = true;
		} else {
		} else {
			got_command = read_controlvm_event(&inmsg);
			got_command = read_controlvm_event(&inmsg);
@@ -1819,8 +1819,8 @@ controlvm_periodic_work(struct work_struct *work)
			* reprocess it on our next loop
			* reprocess it on our next loop
			*/
			*/
			handle_command_failed = TRUE;
			handle_command_failed = TRUE;
			ControlVm_Pending_Msg = inmsg;
			controlvm_pending_msg = inmsg;
			ControlVm_Pending_Msg_Valid = TRUE;
			controlvm_pending_msg_valid = TRUE;
		}
		}
	}
	}