Re: [PATCH] libfdt: Check for 8-byte address alignment in fdt_ro_probe_()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Nov 24, 2020 at 04:42:59PM +1100, David Gibson wrote:
> On Wed, Nov 04, 2020 at 08:06:05AM -0500, Tom Rini wrote:
> > The device tree must be loaded in to memory at an 8-byte aligned
> > address.  Add a check for this condition in fdt_ro_probe_() and a new
> > error code to return if we are not.
> > 
> > Signed-off-by: Tom Rini <trini@xxxxxxxxxxxx>
> 
> Applied, thanks, sorry it took so long.

Thanks.

> A testcase to make sure this fails on an unaligned blob would be a
> nice addition

I think I see how that might be done, I'll put it on the TODO list.

-- 
Tom

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux