Thread (2 messages) 2 messages, 2 authors, 2026-06-19

Re: [PATCH v3] powerpc/fadump: define MIN_RMA in bytes rather than MB

flat view

From: Madhavan Srinivasan <maddy@linux.ibm.com>
Date: 2026-06-19 22:00:41
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help