]> 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)
commite12c0aad9e22dd26cc2b17333ccfdad924f06dce
tree7550cdde9d7c9cc0fd6776c04dcc8ac2ddc71a31
parent7d4d33efc41477e3e73d58342d70debf586b1582
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