Return-path: Received: from kirsty.vergenet.net ([202.4.237.240]) by canuck.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1QEy3w-0008RA-OT for kexec@lists.infradead.org; Wed, 27 Apr 2011 06:17:25 +0000 Date: Wed, 27 Apr 2011 15:17:20 +0900 From: Simon Horman Subject: Re: [PATCH] Fix memory access errors for kexec PPC Message-ID: <20110427061720.GG14497@verge.net.au> References: <4DAEA812.4050901@in.ibm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4DAEA812.4050901@in.ibm.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: Suzuki Poulose Cc: "kexec@lists.infradead.org" On Wed, Apr 20, 2011 at 03:02:02PM +0530, Suzuki Poulose wrote: > Hi, > > I was trying the kexec for ppc32 and came across a couple of memory errors > while running with glibc. > > The attached patch is the outcome of the glibc's alerts ! > We define buf[MAXBYTES-1] and issue fread(buf, 1, MAXBYTES, file), which glibc > reports an error. > > Also there is a typo in the realloc_memory_ranges() code for ppc which causes in > a double free(). Thanks, could you please make this a formal submission by supplying a Signed-off-by line? _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec