summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/stackdepot.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-05-16 23:05:08 +0300
committerMarc Zyngier <maz@kernel.org>2023-06-17 09:21:24 +0300
commit415e84294798d1cb041c902168393054cc4ad211 (patch)
tree0809730170d98eed5e807fe8ad0e50c783ec942b /scripts/gdb/linux/stackdepot.py
parent5b7e5676209120814dbb9fec8bc3769f0f7a7958 (diff)
downloadlinux-415e84294798d1cb041c902168393054cc4ad211.tar.xz
irqchip/gicv3: Add a iort_pmsi_get_dev_id() prototype
iort_pmsi_get_dev_id() has a __weak definition in the driver, and an override in arm64 specific code, but the declaration is conditional and not always seen when the copy in the driver gets built: drivers/irqchip/irq-gic-v3-its-platform-msi.c:41:12: error: no previous prototype for 'iort_pmsi_get_dev_id' [-Werror=missing-prototypes] Move the existing declaration out of the #ifdef block to ensure it can be seen in all configurations. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Hanjun Guo <guohanjun@huawei.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230516200516.554663-5-arnd@kernel.org
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions