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

Commit a07d7c38 authored by Tim Sell's avatar Tim Sell Committed by Greg Kroah-Hartman
Browse files

staging: unisys: visorbus: CHECK: Alignment should match open parenthesis



Fix 'CHECK: Alignment should match open parenthesis' as recommended by
checkpatch.

Signed-off-by: default avatarTim Sell <Timothy.Sell@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e4feb2f2
Loading
Loading
Loading
Loading
+45 −35
Original line number Diff line number Diff line
@@ -530,7 +530,8 @@ static ssize_t toolaction_store(struct device *dev,
	if (kstrtou8(buf, 10, &tool_action))
		return -EINVAL;

	ret = visorchannel_write(controlvm_channel,
	ret = visorchannel_write
		(controlvm_channel,
		 offsetof(struct spar_controlvm_channel_protocol,
			  tool_action),
		 &tool_action, sizeof(u8));
@@ -565,7 +566,8 @@ static ssize_t boottotool_store(struct device *dev,
		return -EINVAL;

	efi_spar_indication.boot_to_tool = val;
	ret = visorchannel_write(controlvm_channel,
	ret = visorchannel_write
		(controlvm_channel,
		 offsetof(struct spar_controlvm_channel_protocol,
			  efi_spar_ind), &(efi_spar_indication),
		 sizeof(struct efi_spar_indication));
@@ -596,7 +598,8 @@ static ssize_t error_store(struct device *dev, struct device_attribute *attr,
	if (kstrtou32(buf, 10, &error))
		return -EINVAL;

	ret = visorchannel_write(controlvm_channel,
	ret = visorchannel_write
		(controlvm_channel,
		 offsetof(struct spar_controlvm_channel_protocol,
			  installation_error),
		 &error, sizeof(u32));
@@ -610,7 +613,8 @@ static ssize_t textid_show(struct device *dev, struct device_attribute *attr,
{
	u32 text_id;

	visorchannel_read(controlvm_channel,
	visorchannel_read
		(controlvm_channel,
		 offsetof(struct spar_controlvm_channel_protocol,
			  installation_text_id),
		 &text_id, sizeof(u32));
@@ -626,7 +630,8 @@ static ssize_t textid_store(struct device *dev, struct device_attribute *attr,
	if (kstrtou32(buf, 10, &text_id))
		return -EINVAL;

	ret = visorchannel_write(controlvm_channel,
	ret = visorchannel_write
		(controlvm_channel,
		 offsetof(struct spar_controlvm_channel_protocol,
			  installation_text_id),
		 &text_id, sizeof(u32));
@@ -657,7 +662,8 @@ static ssize_t remaining_steps_store(struct device *dev,
	if (kstrtou16(buf, 10, &remaining_steps))
		return -EINVAL;

	ret = visorchannel_write(controlvm_channel,
	ret = visorchannel_write
		(controlvm_channel,
		 offsetof(struct spar_controlvm_channel_protocol,
			  installation_remaining_steps),
		 &remaining_steps, sizeof(u16));
@@ -1226,7 +1232,8 @@ bus_configure(struct controlvm_message *inmsg,
				 POSTCODE_SEVERITY_ERR);
		rc = -CONTROLVM_RESP_ERROR_MESSAGE_ID_INVALID_FOR_CLIENT;
	} else {
		visorchannel_set_clientpartition(bus_info->visorchannel,
		visorchannel_set_clientpartition
			(bus_info->visorchannel,
			 cmd->configure_bus.guest_handle);
		bus_info->partition_uuid = parser_id_get(parser_ctx);
		parser_param_start(parser_ctx, PARSERSTRING_NAME);
@@ -1709,7 +1716,8 @@ parahotplug_process_message(struct controlvm_message *inmsg)
		* initialization.
		*/
		parahotplug_request_kickoff(req);
		controlvm_respond_physdev_changestate(&inmsg->hdr,
		controlvm_respond_physdev_changestate
			(&inmsg->hdr,
			 CONTROLVM_RESP_SUCCESS,
			 inmsg->cmd.device_change_state.state);
		parahotplug_request_destroy(req);
@@ -1823,7 +1831,8 @@ handle_command(struct controlvm_message inmsg, u64 channel_addr)
		break;
	default:
		if (inmsg.hdr.flags.response_expected)
			controlvm_respond(&inmsg.hdr,
			controlvm_respond
				(&inmsg.hdr,
				 -CONTROLVM_RESP_ERROR_MESSAGE_ID_UNKNOWN);
		break;
	}
@@ -2177,7 +2186,8 @@ visorchipset_mmap(struct file *file, struct vm_area_struct *vma)
		if (!*file_controlvm_channel)
			return -ENXIO;

		visorchannel_read(*file_controlvm_channel,
		visorchannel_read
			(*file_controlvm_channel,
			 offsetof(struct spar_controlvm_channel_protocol,
				  gp_control_channel),
			 &addr, sizeof(addr));