RE: [PATCH v2] ddr: altera: soc64: Integer fix overflow that caused DDR size mismatched

2022-06-01 Thread Maniyam, Dinesh
[PATCH v2] ddr: altera: soc64: Integer fix overflow that caused DDR > size > mismatched > > From: Dinesh Maniyam > > Convert the constant integer to 'phys_size_t' to avoid overflow when > calculating > the SDRAM size. > > Signed-off-by: Dinesh Maniyam &

[PATCH v2] ddr: altera: soc64: Integer fix overflow that caused DDR size mismatched

2022-05-13 Thread dinesh . maniyam
From: Dinesh Maniyam Convert the constant integer to 'phys_size_t' to avoid overflow when calculating the SDRAM size. Signed-off-by: Dinesh Maniyam --- v1->v2 - Add space in title --- drivers/ddr/altera/sdram_soc64.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drive