Messages in this thread | | | Date | Fri, 15 Mar 2013 21:22:51 +0000 | From | Dimitris Papastamos <> | Subject | Re: [PATCH] regmap: Remove __attribute__ ((packed)) |
| |
On Fri, Mar 15, 2013 at 04:53:51PM +0000, Mark Brown wrote: > On Fri, Mar 15, 2013 at 11:16:02AM +0000, Dimitris Papastamos wrote: > > > On my system there was no benefit of using it, it just happens > > that the struct is aligned properly and needs no padding. > > OK, so which system was that and is it not possible that other systems > will get something useful from this?
Well I guess it has to do with the gcc cross compiler version that I've got and the actual data layout of the linking rbtree node. The data seems to be aligned on a 4-byte boundary anyhow and that should be ok for many systems.
Thanks, Dimitris
| |