Re: svn commit: r305814 - head/sys/boot/common

2016-09-14 Thread Bruce Evans
On Wed, 14 Sep 2016, Emmanuel Vadot wrote: Bruce Evans wrote: On Wed, 14 Sep 2016, Emmanuel Vadot wrote: Log: ufsread: Do not cast struct direct from void * This cause alignment problem on ARM (and possibly other archs), instead copy it. ... This looks like a good pessimization for spa

Re: svn commit: r305814 - head/sys/boot/common

2016-09-14 Thread Emmanuel Vadot
Hi Bruce, On Thu, 15 Sep 2016 05:37:19 +1000 (EST) Bruce Evans wrote: > On Wed, 14 Sep 2016, Emmanuel Vadot wrote: > > > Log: > > ufsread: Do not cast struct direct from void * > > This cause alignment problem on ARM (and possibly other archs), instead > > copy it. > > > > MFC after: 1 we

Re: svn commit: r305814 - head/sys/boot/common

2016-09-14 Thread Bruce Evans
On Wed, 14 Sep 2016, Emmanuel Vadot wrote: Log: ufsread: Do not cast struct direct from void * This cause alignment problem on ARM (and possibly other archs), instead copy it. MFC after: 1 week Modified: head/sys/boot/common/ufsread.c Modified: head/sys/boot/common/ufsread.c