RE: [PATCH 2/2] netdev: octeon_mgmt: Fix structure layout for little-endian.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> The C ABI reverses the bitfield fill order when compiled as
> little-endian.

No - it is completely implementation defined.
The general concensus is not to use bitfields if you
care at all about the bit assignments.

	David





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux