summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/powernv/pci.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-06-14 20:17:23 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2023-06-21 08:13:56 +0300
commitd65305bfa6f797712b928bd8f4781380726b70a0 (patch)
tree4086cf04491ece5fed05e965844c018b38fe9ca7 /arch/powerpc/platforms/powernv/pci.h
parentef8e341075330b3d0e06d4b026d971e7e4ce378b (diff)
downloadlinux-d65305bfa6f797712b928bd8f4781380726b70a0.tar.xz
powerpc: 52xx: Make immr_id DT match tables static
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. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202306130405.uTv5yOZD-lkp@intel.com/ Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20230614171724.2403982-1-robh@kernel.org
Diffstat (limited to 'arch/powerpc/platforms/powernv/pci.h')
0 files changed, 0 insertions, 0 deletions