mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
rk29sdk: fix gcc warning: integer overflow in expression
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
#define PMEM_UI_SIZE SZ_16M
|
||||
#define PMEM_VPU_SIZE SZ_32M
|
||||
|
||||
#define PMEM_GPU_BASE (RK29_SDRAM_PHYS + SDRAM_SIZE - PMEM_GPU_SIZE)
|
||||
#define PMEM_GPU_BASE ((u32)RK29_SDRAM_PHYS + SDRAM_SIZE - PMEM_GPU_SIZE)
|
||||
#define PMEM_UI_BASE (PMEM_GPU_BASE - PMEM_UI_SIZE)
|
||||
#define PMEM_VPU_BASE (PMEM_UI_BASE - PMEM_VPU_SIZE)
|
||||
#define LINUX_SIZE (PMEM_VPU_BASE - RK29_SDRAM_PHYS)
|
||||
|
||||
Reference in New Issue
Block a user