From: James Hogan Date: Thu, 21 Nov 2013 13:44:14 +0000 (+0000) Subject: of: Fix NULL dereference in unflatten_and_copy() X-Git-Tag: v3.13-rc7~11^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f041e99fc7ba00e7e65a431527f9235d6b16463;p=pandora-kernel.git of: Fix NULL dereference in unflatten_and_copy() Check whether initial_boot_params is NULL before dereferencing it in unflatten_and_copy_device_tree() for the case where no device tree is available but the arch can still boot to a minimal usable system without it. In this case also log a warning for when the kernel log buffer is obtainable. Signed-off-by: James Hogan Cc: Rob Herring Signed-off-by: Grant Likely --- Reading git-diff-tree failed