lkml.org 
[lkml]   [2010]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2010-09-15 23:31    [W:0.528 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site