From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: [PATCH v2] of: unflatten_and_copy: handle NULL initial_boot_params Date: Wed, 11 Dec 2013 13:40:43 +0000 Message-ID: <20131211134043.ACED0C4061A@trevor.secretlab.ca> References: <1385041454-32385-1-git-send-email-james.hogan@imgtec.com> < 528E0F7F.7010901@imgtec.com> Return-path: In-Reply-To: <528E0F7F.7010901@imgtec.com> Sender: linux-arch-owner@vger.kernel.org To: Rob Herring , devicetree@vger.kernel.org Cc: James Hogan , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org On Thu, 21 Nov 2013 13:49:51 +0000, James Hogan wrote: > On 21/11/13 13:44, James Hogan wrote: > > 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: Grant Likely > > Cc: Rob Herring > > Cc: devicetree@vger.kernel.org > > Cc: linux-arch@vger.kernel.org > > Hmm, sorry, I forgot to add Grant's: > Acked-by: Grant Likely > > (from v1) Applied, thanks. g.