On 11/10/16 15:49, Greg KH wrote:
If I do that it will still leave a single unsigned short 'bugs' and
single bool 'fifo_bug'. Should I move all of 'capabilities', 'bugs'
and 'fifo_bug' to the end of the structure, leaving everything before
it aligned?
You can fix that all up in a follow-on patch after this one. The tool,
pahole, should help out with ensuring that you got it correct.
Compiled for x86_64, pahole showed a 1 byte hole after 'fifo_bug' and 4
byte hole after 'msr_saved_flags', but however I move things around
there is always a total of 5 bytes of padding. 'pahole -- reorganize'
also didn't come up with anything better, so I propose to leave the
order as it is.
Ed.
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html