RE: [PATCH v4 34/47] soc: fsl: qe: change return type of cpm_muram_alloc() to s32

From: Qiang Zhao
Date: Tue Nov 12 2019 - 03:01:31 EST


On Fri, Nov 8, 2019 at 21:01 Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> wrote:

> -----Original Message-----
> From: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>
> Sent: 2019年11月8日 21:01
> To: Qiang Zhao <qiang.zhao@xxxxxxx>; Leo Li <leoyang.li@xxxxxxx>;
> Christophe Leroy <christophe.leroy@xxxxxx>
> Cc: linuxppc-dev@xxxxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx; Scott Wood <oss@xxxxxxxxxxxx>; Rasmus
> Villemoes <linux@xxxxxxxxxxxxxxxxxx>
> Subject: [PATCH v4 34/47] soc: fsl: qe: change return type of
> cpm_muram_alloc() to s32
>
> -unsigned long cpm_muram_alloc_fixed(unsigned long offset, unsigned long
> size)
> +s32 cpm_muram_alloc_fixed(unsigned long offset, unsigned long size)
> {
> - unsigned long start;
> + long start;
> unsigned long flags;
> struct genpool_data_fixed muram_pool_data_fixed;

"start" should be s32 here too?


Best Regards
Qiang Zhao