Subject: Re: [PATCH] powerpc: change rheap functions to use long integers instead of pointers

From: Timur Tabi <[email-masked]>
Date: Wed, 04 Apr 2007 13:05:38 -0500

Sylvain Munaut wrote:

> Since the case where you manage offset is more common, it make senses to
> change the types to unsigned long. However the other usage model (manage
> addresses) should still be possible (using type casts only).

You'll have to explain to me how this works.  None of the current users of rheap operate 
in this way.  They all take the return value and cast them to unsigned ints/longs and then 
use them as an offset into the buffer.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale