Re: [PATCH] Fix crash with poorly defined #size-cells

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



On Wed, Apr 29, 2015 at 02:02:24PM -0500, Jack Miller wrote:
> If you have a parent block with #size-cells improperly set to 0, and
> then subsequently try to include a regs property in the child, dtc will
> crash with SIGFPE while validating it. This patch fixes that crash,
> instead printing the same invalid length warning that was causing it.
> 
> Test included.
> 
> Signed-off-by: Jack Miller <jack@xxxxxxxxxxx>

Applied, thanks.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachment: pgpxkuvS5gD7H.pgp
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