[PATCH][PPC32] Fix rheap warning

Kumar Gala galak at somerset.sps.mot.com
Tue Nov 9 16:27:48 EST 2004


Andrew,

Here is patch that fixes a compile warning with rheap

Signed-off-by: Kumar Gala <kumar.gala at freescale.com>

--

diff -Nru a/arch/ppc/lib/rheap.c b/arch/ppc/lib/rheap.c
--- a/arch/ppc/lib/rheap.c	2004-11-08 22:43:52 -06:00
+++ b/arch/ppc/lib/rheap.c	2004-11-08 22:43:52 -06:00
@@ -645,6 +645,7 @@
  		return -EINVAL;

  	blk->owner = owner;
+	size = blk->size;

  	return size;
  }



More information about the Linuxppc-embedded mailing list