summaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib/test_util.py
diff options
context:
space:
mode:
authorNaresh Kumar Ravulapalli <nareshkumar.ravulapalli@altera.com>2025-03-07 02:28:51 -0800
committerTien Fong Chee <tien.fong.chee@intel.com>2025-04-22 11:47:38 +0800
commitc889ca7ccf9ea960d164ee8568eb44e5c2f9a46d (patch)
treec611c8028b56b636dde7ef06bcbb9f7a2981632f /tools/u_boot_pylib/test_util.py
parentcde0050618968aae335dfbc930641656d51ff5d0 (diff)
drivers: ddr: altera: Fix integer overflow during size calculation
Data structure, dramaddrw, is defined as u32. Compiler performs 32-bit arithmetic and logic operations on this data structure. Fix is provided to avoid integer overflow while performing shifting operations greater than 32-bit. Signed-off-by: Naresh Kumar Ravulapalli <nareshkumar.ravulapalli@altera.com> Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
Diffstat (limited to 'tools/u_boot_pylib/test_util.py')
0 files changed, 0 insertions, 0 deletions