Re: [RFC] Normalizing byteorder/unaligned access API

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Geert Uytterhoeven
Date: Wednesday, October 8, 2008 - 12:15 am

On Tue, 7 Oct 2008, Harvey Harrison wrote:

I don't think __packed would help here, as alignment(struct) ==
max(alignment(struct member)) == alignment(char).

Don't you want the __packed on the structure that embeds the __be24?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] Normalizing byteorder/unaligned access API, Harvey Harrison, (Tue Oct 7, 2:53 pm)
Re: [RFC] Normalizing byteorder/unaligned access API, James Bottomley, (Tue Oct 7, 3:12 pm)
Re: [RFC] Normalizing byteorder/unaligned access API, Harvey Harrison, (Tue Oct 7, 3:39 pm)
Re: [RFC] Normalizing byteorder/unaligned access API, Matthew Wilcox, (Tue Oct 7, 4:28 pm)
Re: [RFC] Normalizing byteorder/unaligned access API, Matthew Wilcox, (Tue Oct 7, 4:33 pm)
Re: [RFC] Normalizing byteorder/unaligned access API, Harvey Harrison, (Tue Oct 7, 4:35 pm)
Re: [RFC] Normalizing byteorder/unaligned access API, Harvey Harrison, (Tue Oct 7, 4:39 pm)
Re: [RFC] Normalizing byteorder/unaligned access API, Matthew Wilcox, (Tue Oct 7, 4:55 pm)
Re: [RFC] Normalizing byteorder/unaligned access API, Harvey Harrison, (Tue Oct 7, 5:02 pm)
Re: [RFC] Normalizing byteorder/unaligned access API, Geert Uytterhoeven, (Wed Oct 8, 12:13 am)
Re: [RFC] Normalizing byteorder/unaligned access API, Geert Uytterhoeven, (Wed Oct 8, 12:15 am)
Re: [RFC] Normalizing byteorder/unaligned access API, Marcel Holtmann, (Wed Oct 8, 12:31 am)
Re: [RFC] Normalizing byteorder/unaligned access API, Harvey Harrison, (Wed Oct 8, 12:34 am)