[PATCH][v1] powerpc/85xx: Fix sram_offset parameter type

Kumar Gala galak at kernel.crashing.org
Fri Jul 27 04:53:32 EST 2012


On Jul 26, 2012, at 9:47 AM, Claudiu Manoil wrote:

> The sram_offset parameter represents a physical address
> and should be of type phys_addr_t. As part of this fix,
> the extraction of sram_params is being cleaned-up and
> fixed.
> This patch fixes now the case when the offset value of
> 0xfff00000 was being rejected by the driver (returning
> -EINVAL), although this is a valid offset value.
> 
> Signed-off-by: Tang Yuantian <Yuantian.Tang at freescale.com>
> Signed-off-by: Claudiu Manoil <claudiu.manoil at freescale.com>
> ---
> v1: fixed copyright year format
> 
> arch/powerpc/sysdev/fsl_85xx_cache_ctlr.h |    4 +-
> arch/powerpc/sysdev/fsl_85xx_l2ctlr.c     |   39 ++++++++++------------------
> 2 files changed, 16 insertions(+), 27 deletions(-)

applied to merge

- k


More information about the Linuxppc-dev mailing list