of/fdt: fix allocation size for device node path
authorRicky Liang <jcliang@chromium.org>
Tue, 14 Apr 2015 04:36:05 +0000 (12:36 +0800)
committerRob Herring <robh@kernel.org>
Wed, 15 Apr 2015 00:35:45 +0000 (19:35 -0500)
commit05f4647b10233dd2e18106abb16ff7fb68abbd08
tree4906e9acafeb8453d083af71720cc7055caa1bcb
parentebc5e20082160df384dedbe1c95066c3e545b689
of/fdt: fix allocation size for device node path

The allocation size of device node path is off by one which drops the
'\0' terminator.

Signed-off-by: Ricky Liang <jcliang@chromium.org>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/fdt.c