Dear Daniel Mack, In message <20090604174208.gm26...@buzzloop.caiaq.de> you wrote: > > +static inline u16 get_unaligned_le16(const void *p) > +{ > + return __get_unaligned_cpu16((const u8 *)p); > +} > + > +static inline u32 get_unaligned_le32(const void *p) > +{ > + return __get_unaligned_cpu32((const u8 *)p); > +} > + > +static inline u64 get_unaligned_le64(const void *p) > +{ > + return __get_unaligned_cpu64((const u8 *)p); > +}
Are these 3 really all "u8" pointers, or is this a copy & paste error? Is there any guarantee that such macros are never used on device registers and the like? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de "It is better to have tried and failed than to have failed to try, but the result's the same." - Mike Dennison _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot