[PATCH][PPC32] Fix rheap warning

From: Kumar Gala
Date: Tue Nov 09 2004 - 01:49:57 EST


Andrew,

Here is patch that fixes a compile warning with rheap

Signed-off-by: Kumar Gala <kumar.gala@xxxxxxxxxxxxx>

--

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;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/