From: Jeffrey Brown <jeffrey.br...@unisys.com>

Replaced pragma code for the struct vmcall_io_controlvm_addr_params
with __packed

Signed-off-by: Jeffrey Brown <jeffrey.br...@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.ro...@unisys.com>
---
 drivers/staging/unisys/common-spar/include/vmcallinterface.h | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/drivers/staging/unisys/common-spar/include/vmcallinterface.h 
b/drivers/staging/unisys/common-spar/include/vmcallinterface.h
index 3a2af50..f076336 100644
--- a/drivers/staging/unisys/common-spar/include/vmcallinterface.h
+++ b/drivers/staging/unisys/common-spar/include/vmcallinterface.h
@@ -103,9 +103,7 @@ struct phys_info {
        u16 pi_len;
 } __packed;
 
-/* ///////////// BEGIN PRAGMA PACK PUSH 1 ///////////////////////// */
 /* ///////////// ONLY STRUCT TYPE SHOULD BE BELOW */
-#pragma pack(push, 1)
 /* Parameters to VMCALL_IO_CONTROLVM_ADDR interface */
 struct vmcall_io_controlvm_addr_params {
            /* The Guest-relative physical address of the ControlVm channel.
@@ -115,10 +113,7 @@ struct vmcall_io_controlvm_addr_params {
            * in with the appropriate address. */
        u32 channel_bytes;      /* contents provided by this VMCALL (OUT) */
        u8 unused[4];           /* Unused Bytes in the 64-Bit Aligned Struct */
-};
-
-#pragma pack(pop)
-/* ///////////// END PRAGMA PACK PUSH 1 /////////////////////////// */
+} __packed;
 
 /* ///////////// BEGIN PRAGMA PACK PUSH 1 ///////////////////////// */
 /* ///////////// ONLY STRUCT TYPE SHOULD BE BELOW */
-- 
2.1.0

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to