staging: unisys: Fix CamelCase in Issue_VMCALL_IO_CONTROLVM_ADDR()
Fix CamelCase names: Issue_VMCALL_IO_CONTROLVM_ADDR => issue_vmcall_io_controlvm_addr ControlAddress => control_addr ControlBytes => control_bytes Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
03ec49dcda
commit
74658c5621
@ -222,7 +222,7 @@ unsigned int uisutil_copy_fragsinfo_from_skb(unsigned char *calling_ctx,
|
||||
struct phys_info frags[]);
|
||||
|
||||
static inline unsigned int
|
||||
Issue_VMCALL_IO_CONTROLVM_ADDR(u64 *ControlAddress, u32 *ControlBytes)
|
||||
issue_vmcall_io_controlvm_addr(u64 *control_addr, u32 *control_bytes)
|
||||
{
|
||||
VMCALL_IO_CONTROLVM_ADDR_PARAMS params;
|
||||
int result = VMCALL_SUCCESS;
|
||||
@ -231,8 +231,8 @@ Issue_VMCALL_IO_CONTROLVM_ADDR(u64 *ControlAddress, u32 *ControlBytes)
|
||||
physaddr = virt_to_phys(¶ms);
|
||||
ISSUE_IO_VMCALL(VMCALL_IO_CONTROLVM_ADDR, physaddr, result);
|
||||
if (VMCALL_SUCCESSFUL(result)) {
|
||||
*ControlAddress = params.ChannelAddress;
|
||||
*ControlBytes = params.ChannelBytes;
|
||||
*control_addr = params.ChannelAddress;
|
||||
*control_bytes = params.ChannelBytes;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
@ -1911,7 +1911,7 @@ static HOSTADDRESS controlvm_get_channel_address(void)
|
||||
u64 addr = 0;
|
||||
u32 size = 0;
|
||||
|
||||
if (!VMCALL_SUCCESSFUL(Issue_VMCALL_IO_CONTROLVM_ADDR(&addr, &size))) {
|
||||
if (!VMCALL_SUCCESSFUL(issue_vmcall_io_controlvm_addr(&addr, &size))) {
|
||||
ERRDRV("%s - vmcall to determine controlvm channel addr failed",
|
||||
__func__);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user