aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pcie-qcom-common.c
diff options
context:
space:
mode:
authorTiwei Bie <[email protected]>2025-06-23 11:08:29 +0000
committerJohannes Berg <[email protected]>2025-06-25 07:28:17 +0000
commit2d65fc13be85c336c56af7077f08ccd3a3a15a4a (patch)
treebf64b05d6cf1890222fdfc62e1b8a1e3c58c06c7 /drivers/pci/controller/dwc/pcie-qcom-common.c
parentum: Use correct data source in fpregs_legacy_set() (diff)
downloadkernel-2d65fc13be85c336c56af7077f08ccd3a3a15a4a.tar.gz
kernel-2d65fc13be85c336c56af7077f08ccd3a3a15a4a.zip
um: vector: Reduce stack usage in vector_eth_configure()
When compiling with clang (19.1.7), initializing *vp using a compound literal may result in excessive stack usage. Fix it by initializing the required fields of *vp individually. Without this patch: $ objdump -d arch/um/drivers/vector_kern.o | ./scripts/checkstack.pl x86_64 0 ... 0x0000000000000540 vector_eth_configure [vector_kern.o]:1472 ... With this patch: $ objdump -d arch/um/drivers/vector_kern.o | ./scripts/checkstack.pl x86_64 0 ... 0x0000000000000540 vector_eth_configure [vector_kern.o]:208 ... Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Tiwei Bie <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-common.c')
0 files changed, 0 insertions, 0 deletions