The attribute has no purpose here and, in the worst case, could lead to
the compiler generating worse code. In practice, however: No change to
generated code (surprisingly not even to generated debug info), at least
with gcc12 and the .config-s I've tried.
Requested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
* MSI Defined Data Structures
*/
-struct __packed msg_data {
+struct msg_data {
uint32_t vector : 8;
uint32_t delivery_mode : 3; /* 000b: FIXED | 001b: lowest prior */
uint32_t : 3;
uint32_t : 16;
};
-struct __packed msg_address {
+struct msg_address {
union {
struct {
uint32_t : 2;