[PATCH][PPC32] Fix rheap warning

From
Kumar Gala <hidden>
Date
2004-11-09 05:54:56
Also in
lkml
Andrew,

Here is patch that fixes a compile warning with rheap

Signed-off-by: Kumar Gala <redacted>

--

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;
 }
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help