upstream: fdtput: Adjust report_error() to use name, namelen params

As with many fdt functions, report_error() should permit a namelen to
be specified, thus obviating the need for nul termination in strings
passed to it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
(cherry picked from commit 3553dfac224435233f2c0d33169194098e979c88)

Change-Id: I8419977662f5b69099359ef2f6d15a594f4fbc1b
1 file changed