On Tue, 16 Jun 2026 11:44:35 +0530, Sayali Patil wrote:
> The MIN_RMA size checks in fadump_setup_param_area() use
> (MIN_RMA * 1024 * 1024), which is evaluated in int and can
> overflow when MIN_RMA is increased to values such as SZ_2G,
> triggering compiler warnings such as:
> 
> warning: integer overflow in expression of type 'int'
> results in '0' [-Woverflow]
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/fadump: define MIN_RMA in bytes rather than MB
      https://git.kernel.org/powerpc/c/42f252f5a646866a95f025863c8b201042494ba1

cheers

Reply via email to