Re: [PATCH] of/fdt: fix allocation size for device node path

2015-04-15 Thread Rob Herring
On Wed, Apr 15, 2015 at 7:15 AM, Grant Likely wrote: > On Tue, 14 Apr 2015 12:36:05 +0800 > , Ricky Liang > wrote: >> The allocation size of device node path is off by one which drops the >> '\0' terminator. >> >> Signed-off-by: Ricky Liang > > This looks like something that should be backporte

Re: [PATCH] of/fdt: fix allocation size for device node path

2015-04-15 Thread Grant Likely
On Tue, 14 Apr 2015 12:36:05 +0800 , Ricky Liang wrote: > The allocation size of device node path is off by one which drops the > '\0' terminator. > > Signed-off-by: Ricky Liang This looks like something that should be backported to stable. Do you agree? g. > --- > drivers/of/fdt.c | 2 +- >

[PATCH] of/fdt: fix allocation size for device node path

2015-04-13 Thread Ricky Liang
The allocation size of device node path is off by one which drops the '\0' terminator. Signed-off-by: Ricky Liang --- drivers/of/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index 3a896c9..98a9e6e 100644 --- a/drivers/of/fdt.c +++