[PATCH 70/71] staging: unisys: LIVEDUMP_INFO typedef

Jeffrey Brown Jeffrey.Brown at unisys.com
Wed Nov 12 17:42:55 UTC 2014


From: Jeffrey <Jeffrey.Brown at unisys.com>

Changed the typedef LIVEDUMP_INFO to a normal struct and replaced
the only other instance of LIVEDUMP_INFO to "struct LIVEDUMP_INFO"
on line 133

Signed-off-by: Jeffrey Brown <Jeffrey.Brown at unisys.com>
---
 drivers/staging/unisys/visorchipset/visorchipset_main.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c
index efb1729..45b1760 100644
--- a/drivers/staging/unisys/visorchipset/visorchipset_main.c
+++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c
@@ -116,7 +116,7 @@ static struct CONTROLVM_PAYLOAD_INFO controlvm_payload_info;
 
 static struct channel_header *test_vnic_channel;
 
-typedef struct {
+struct LIVEDUMP_INFO {
 	struct controlvm_message_header dumpcapture_header;
 	struct controlvm_message_header gettextdump_header;
 	struct controlvm_message_header dumpcomplete_header;
@@ -125,11 +125,12 @@ typedef struct {
 	ulong length;
 	atomic_t buffers_in_use;
 	ulong destination;
-} LIVEDUMP_INFO;
+};
+
 /* Manages the info for a CONTROLVM_DUMP_CAPTURESTATE /
  * CONTROLVM_DUMP_GETTEXTDUMP / CONTROLVM_DUMP_COMPLETE conversation.
  */
-static LIVEDUMP_INFO livedump_info;
+static struct LIVEDUMP_INFO livedump_info;
 
 /* The following globals are used to handle the scenario where we are unable to
  * offload the payload from a controlvm message due to memory requirements.  In
-- 
1.8.4



More information about the devel mailing list