commit | 6e7456674bb7b7eb9649a5c168b0086b44a1fcf9 | [log] [tgz] |
---|---|---|
author | Naresh Kumar Ravulapalli <nareshkumar.ravulapalli@altera.com> | Fri Mar 07 02:28:51 2025 -0800 |
committer | Tien Fong Chee <tien.fong.chee@intel.com> | Tue Apr 22 11:47:38 2025 +0800 |
tree | c611c8028b56b636dde7ef06bcbb9f7a2981632f | |
parent | 9b455dffa8aad23e0ecd766147ac31da31d17ea5 [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>