]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: visorbus: Clean up vmcall address function.
authorDavid Kershner <david.kershner@unisys.com>
Wed, 30 Aug 2017 17:36:13 +0000 (13:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Aug 2017 16:17:38 +0000 (18:17 +0200)
commitf7149efd42ad08f6900458630ebae13294d65f5c
tree7550cdde9d7c9cc0fd6776c04dcc8ac2ddc71a31
parent78be4070a1b5607b447da1dd86210a046bad5711
staging: unisys: visorbus: Clean up vmcall address function.

The function vmcall address needed to be cleaned up. The structure
vmcall_controlvm_addr was not needed so it was removed and was replaced
with vmcall_io_controlvm_addr_params since it needs to be allocated on the
heap for DMA access.

With the structure removed and the fields as local variables, it helped
clean up the formatting of the function.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c