From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson Subject: Re: [PATCH 4/5] fdtput: Adjust report_error() to use name, namelen params Date: Thu, 12 Jul 2012 22:40:08 +1000 Message-ID: <20120712124008.GD11326@truffala.fritz.box> References: <1341925008-10627-1-git-send-email-sjg@chromium.org> <1341925008-10627-4-git-send-email-sjg@chromium.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1341925008-10627-4-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Simon Glass Cc: Devicetree Discuss List-Id: devicetree@vger.kernel.org On Tue, Jul 10, 2012 at 05:56:47AM -0700, Simon Glass wrote: > 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 Fair enough. Acked-by: David Gibson -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson