powerpc/85xx: Fix signedness bug in cache-sram
authorVasiliy Kulikov <segooon@gmail.com>
Sun, 17 Oct 2010 14:51:41 +0000 (18:51 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 15 Mar 2011 19:19:16 +0000 (14:19 -0500)
commitb0aea14bdc4a9ee5d1e8cb78488263d6ce32095e
tree7c6ce5aa12a90a31f22ac73bd12c65f9406a1699
parenta2b31dd93000136d82f675952e322ec18973a348
powerpc/85xx: Fix signedness bug in cache-sram

sram_params.sram_size and sram_params.sram_offset were unsigned.
If get_cache_sram_size() or get_cache_sram_offset() returns error code
then it is not seen to the caller.  Made sram_size and sram_offset signed.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/fsl_85xx_l2ctlr.c