aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2021-09-20 12:02:52 +0200
committerSudeep Holla <[email protected]>2021-09-20 12:01:54 +0100
commit1cd73200dad2d53d839b3323596dbf8a2b949d86 (patch)
tree850922b7aa26748c31803a69e7637542cca85086 /scripts/gdb/linux/utils.py
parentc90521a0e94f00a2e40889b7d7d99f1494fa9381 (diff)
firmware: arm_scmi: Remove __exit annotation
virtio_scmi_exit() is only called from __exit function, so the annotation is correct, but when the driver is built-in, the section gets discarded and the reference from a callback pointer causes a link-time error: `virtio_scmi_exit' referenced in section `.rodata' of drivers/firmware/arm_scmi/virtio.o: defined in discarded section `.exit.text' of drivers/firmware/arm_scmi/virtio.o I could not figure out a better workaround, so let's just remove that annotation even if it wastes a couple of bytes in .text. Link: https://lore.kernel.org/r/[email protected] Fixes: 46abe13b5e3d ("firmware: arm_scmi: Add virtio transport") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions