Commit 48947380 authored by Brian King's avatar Brian King Committed by James Bottomley

[PATCH] ipr remove anonymous unions for gcc 2.95

This patch removes all usage of anonymous unions from the ipr
driver since gcc 2.95 does not support anonymous unions.
parent 943d7b0a
This diff is collapsed.
...@@ -413,8 +413,8 @@ struct ipr_ioasa_af_dasd { ...@@ -413,8 +413,8 @@ struct ipr_ioasa_af_dasd {
}__attribute__((packed, aligned (4))); }__attribute__((packed, aligned (4)));
struct ipr_ioasa_gpdd { struct ipr_ioasa_gpdd {
u8 device_end_state; u8 end_state;
u8 device_bus_phase; u8 bus_phase;
u16 reserved; u16 reserved;
u32 ioa_data[23]; u32 ioa_data[23];
}__attribute__((packed, aligned (4))); }__attribute__((packed, aligned (4)));
...@@ -457,7 +457,7 @@ struct ipr_ioasa { ...@@ -457,7 +457,7 @@ struct ipr_ioasa {
struct ipr_ioasa_af_dasd dasd; struct ipr_ioasa_af_dasd dasd;
struct ipr_ioasa_gpdd gpdd; struct ipr_ioasa_gpdd gpdd;
struct ipr_ioasa_raw raw; struct ipr_ioasa_raw raw;
}; } u;
}__attribute__((packed, aligned (4))); }__attribute__((packed, aligned (4)));
struct ipr_mode_parm_hdr { struct ipr_mode_parm_hdr {
...@@ -617,7 +617,7 @@ struct ipr_hostrcb_error { ...@@ -617,7 +617,7 @@ struct ipr_hostrcb_error {
struct ipr_hostrcb_type_02_error type_02_error; struct ipr_hostrcb_type_02_error type_02_error;
struct ipr_hostrcb_type_03_error type_03_error; struct ipr_hostrcb_type_03_error type_03_error;
struct ipr_hostrcb_type_04_error type_04_error; struct ipr_hostrcb_type_04_error type_04_error;
}; } u;
}__attribute__((packed, aligned (4))); }__attribute__((packed, aligned (4)));
struct ipr_hostrcb_raw { struct ipr_hostrcb_raw {
...@@ -662,7 +662,7 @@ struct ipr_hcam { ...@@ -662,7 +662,7 @@ struct ipr_hcam {
struct ipr_hostrcb_error error; struct ipr_hostrcb_error error;
struct ipr_hostrcb_cfg_ch_not ccn; struct ipr_hostrcb_cfg_ch_not ccn;
struct ipr_hostrcb_raw raw; struct ipr_hostrcb_raw raw;
}; } u;
}__attribute__((packed, aligned (4))); }__attribute__((packed, aligned (4)));
struct ipr_hostrcb { struct ipr_hostrcb {
...@@ -785,7 +785,7 @@ struct ipr_trace_entry { ...@@ -785,7 +785,7 @@ struct ipr_trace_entry {
u32 ioasc; u32 ioasc;
u32 add_data; u32 add_data;
u32 res_addr; u32 res_addr;
}; } u;
}; };
struct ipr_sglist { struct ipr_sglist {
...@@ -940,7 +940,7 @@ struct ipr_cmnd { ...@@ -940,7 +940,7 @@ struct ipr_cmnd {
struct ipr_resource_entry *res; struct ipr_resource_entry *res;
struct ipr_cmnd *sibling; struct ipr_cmnd *sibling;
struct scsi_device *sdev; struct scsi_device *sdev;
}; } u;
struct ipr_ioa_cfg *ioa_cfg; struct ipr_ioa_cfg *ioa_cfg;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment