mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-03 09:41:54 +09:00
staging: unisys: fix Issue_VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET()
Fix CamelCase names: Issue_VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET => issue_vmcall_query_guest_virtual_time_offset Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
8359367ed9
commit
e76446ea63
@@ -263,7 +263,7 @@ static inline unsigned int issue_vmcall_io_visorserial_addr(u64 *channel_addr)
|
||||
return result;
|
||||
}
|
||||
|
||||
static inline s64 Issue_VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET(void)
|
||||
static inline s64 issue_vmcall_query_guest_virtual_time_offset(void)
|
||||
{
|
||||
u64 result = VMCALL_SUCCESS;
|
||||
u64 physaddr = 0;
|
||||
|
||||
@@ -197,7 +197,7 @@ visorchipset_ioctl(struct inode *inode, struct file *file,
|
||||
switch (cmd) {
|
||||
case VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET:
|
||||
/* get the physical rtc offset */
|
||||
vrtc_offset = Issue_VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET();
|
||||
vrtc_offset = issue_vmcall_query_guest_virtual_time_offset();
|
||||
if (copy_to_user
|
||||
((void __user *)arg, &vrtc_offset, sizeof(vrtc_offset))) {
|
||||
rc = -EFAULT;
|
||||
|
||||
Reference in New Issue
Block a user