Thread (2 messages) read the whole thread 2 messages, 2 authors, 2023-07-03

Re: [PATCH] powerpc: 52xx: Make immr_id DT match tables static

From: Michael Ellerman <hidden>
Date: 2023-07-03 05:53:00
Also in: lkml

On Wed, 14 Jun 2023 11:17:23 -0600, Rob Herring wrote:
In some builds, the mpc52xx_pm_prepare()/lite5200_pm_prepare() functions
generate stack size warnings. The addition of 'struct resource' in commit
2500763dd3db ("powerpc: Use of_address_to_resource()") grew the stack size
and is blamed for the warnings. However, the real issue is there's no
reason the 'struct of_device_id immr_ids' DT match tables need to be on
the stack as they are constant. Declare them as static to move them off
the stack.

[...]
Applied to powerpc/next.

[1/1] powerpc: 52xx: Make immr_id DT match tables static
      https://git.kernel.org/powerpc/c/d65305bfa6f797712b928bd8f4781380726b70a0

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