Re: alignment faults in 3.6

2012-10-06 Thread Mans Rullgard
On 5 October 2012 23:42, Russell King - ARM Linux wrote: > On Fri, Oct 05, 2012 at 11:37:40PM +0100, Mans Rullgard wrote: >> The problem is the (__be32 *) casts. This is a normal pointer to a 32-bit, >> which is assumed to be aligned, and the cast overrides the packed attribute >> from the struct

Re: alignment faults in 3.6

2012-10-06 Thread Nicolas Pitre
On Sat, 6 Oct 2012, Mans Rullgard wrote: > On 5 October 2012 23:42, Russell King - ARM Linux > wrote: > > On Fri, Oct 05, 2012 at 11:37:40PM +0100, Mans Rullgard wrote: > >> The problem is the (__be32 *) casts. This is a normal pointer to a 32-bit, > >> which is assumed to be aligned, and the ca

Re: alignment faults in 3.6

2012-10-06 Thread Russell King - ARM Linux
On Sat, Oct 06, 2012 at 05:04:33PM +0100, Mans Rullgard wrote: > On 5 October 2012 23:42, Russell King - ARM Linux > wrote: > > On Fri, Oct 05, 2012 at 11:37:40PM +0100, Mans Rullgard wrote: > >> The problem is the (__be32 *) casts. This is a normal pointer to a 32-bit, > >> which is assumed to b

Re: alignment faults in 3.6

2012-10-06 Thread Mikael Pettersson
Rob Herring writes: > On 10/05/2012 08:51 AM, Mikael Pettersson wrote: > > Rob Herring writes: > > > On 10/05/2012 03:24 AM, Russell King - ARM Linux wrote: > > > > On Fri, Oct 05, 2012 at 09:20:56AM +0100, Mans Rullgard wrote: > > > >> On 5 October 2012 08:12, Russell King - ARM Linux > >