staging: unisys: Change data to point to visor_controlvm_parameters_header.
authorDavid Kershner <david.kershner@unisys.com>
Wed, 30 Aug 2017 17:36:24 +0000 (13:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Aug 2017 16:17:39 +0000 (18:17 +0200)
commit26a42c251ed8a31529b9529a9d03b3d781cbd169
treeac6e79cc3bbbbbac74e41c4ca9ec1599e97cd1c9
parentaf53ce418b3dc4c9b66ad4b4381f08589424da06
staging: unisys: Change data to point to visor_controlvm_parameters_header.

The data field was being defined as a character array and then casted into
a visor_controlvm_parameters_header structure. This patch converts it to
just point to the visor_controlvm_parameters_header structure. The data
following the header is still behind the header_info.

Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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