]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit96e166b5aebea9acbc78221bcde8544d5d154daf
tree4906e9acafeb8453d083af71720cc7055caa1bcb
parent9c06176f6c5b1eab8ed6cd7d0971394c47898782
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