From: Bjorn Helgaas Date: Wed, 29 Oct 2014 18:15:00 +0000 (-0600) Subject: of/fdt: Don't clear initial_boot_params if fdt_check_header() fails X-Git-Tag: omap-for-v3.19/fixes-rc1~127^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50ba08f3;p=pandora-kernel.git of/fdt: Don't clear initial_boot_params if fdt_check_header() fails If the device tree pointer is NULL, early_init_dt_verify() fails, leaving initial_boot_params unchanged. If the device tree pointer is non-NULL but invalid, early_init_dt_verify() again fails but this time it also clears initial_boot_params. Leave initial_boot_params unchanged if the device tree pointer is invalid. This doesn't fix a bug, but it makes the behavior more consistent and easier to analyze. Signed-off-by: Bjorn Helgaas Signed-off-by: Zhen Lei Signed-off-by: Grant Likely --- Reading git-diff-tree failed