Messages in this thread | | | Date | Wed, 15 Sep 2010 14:27:44 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] ihex: Add support for CS:IP/EIP records |
| |
On Thu, 9 Sep 2010 14:40:26 +0100 Mark Brown <broonie@opensource.wolfsonmicro.com> wrote:
> + data32 = &record->data[0]; > + *data32 = htonl(*data32);
firmware/ihex2fw.c: In function 'process_ihex': firmware/ihex2fw.c:231: warning: assignment from incompatible pointer type
And afacit data[] isn't 32-bit aligned and I don't know that all architectures support htonl() against a misaligned pointer.
I'll drop the patch.
| |