Arnd Bergmann
1cd73200da
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/20210920100301.1466486-2-arnd@kernel.org
Fixes: 46abe13b5e ("firmware: arm_scmi: Add virtio transport")
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com >
2021-09-20 12:01:54 +01:00
..
2021-09-10 13:29:04 -07:00
2021-09-03 08:06:02 -06:00
2021-09-10 20:26:08 +02:00
2021-09-01 08:44:42 -07:00
2021-09-11 14:48:42 -07:00
2021-09-01 15:25:28 -07:00
2021-09-12 11:44:58 -07:00
2021-09-11 10:05:56 -07:00
2021-09-03 11:11:54 -07:00
2021-09-10 20:26:08 +02:00
2021-09-07 12:38:59 -07:00
2021-09-07 19:13:42 -07:00
2021-09-09 11:48:27 -07:00
2021-09-09 11:39:57 -07:00
2021-09-08 11:50:26 -07:00
2021-09-09 11:07:47 -07:00
2021-09-07 12:42:21 +05:30
2021-08-30 14:38:37 -07:00
2021-09-11 09:47:33 -07:00
2021-09-20 12:01:54 +01:00
2021-09-01 08:44:42 -07:00
2021-09-07 12:27:27 -07:00
2021-09-10 11:22:23 -07:00
2021-09-02 14:30:46 -07:00
2021-09-01 18:25:20 -07:00
2021-09-08 12:55:35 -07:00
2021-09-01 08:44:42 -07:00
2021-09-02 13:49:39 -07:00
2021-09-08 12:55:35 -07:00
2021-09-09 11:14:14 -07:00
2021-09-11 09:08:28 -07:00
2021-08-24 15:33:04 +02:00
2021-09-11 14:48:42 -07:00
2021-09-01 09:51:16 -07:00
2021-08-23 09:50:46 +01:00
2021-09-03 15:33:47 -07:00
2021-09-03 15:33:47 -07:00
2021-08-31 22:57:45 -05:00
2021-09-09 11:39:57 -07:00
2021-09-08 12:55:35 -07:00
2021-09-01 08:44:42 -07:00
2021-09-07 12:38:59 -07:00
2021-09-12 11:56:00 -07:00
2021-09-03 10:08:28 -07:00
2021-09-08 12:55:35 -07:00
2021-09-07 19:13:42 -07:00
2021-08-26 09:13:36 +01:00
2021-09-07 13:05:02 -07:00
2021-09-09 11:48:27 -07:00
2021-09-06 10:08:09 +02:00
2021-09-10 11:21:49 -05:00
2021-08-30 19:25:42 +02:00
2021-09-09 12:44:31 +02:00
2021-09-02 13:16:00 -07:00
2021-09-08 16:33:21 -07:00
2021-09-08 12:55:35 -07:00
2021-09-03 15:33:47 -07:00
2021-09-08 16:43:46 -07:00
2021-08-30 11:47:32 -07:00
2021-08-25 20:12:16 +02:00
2021-08-26 12:06:42 +01:00
2021-09-02 22:27:46 +02:00
2021-08-25 16:05:24 +01:00
2021-09-01 15:25:28 -07:00
2021-09-09 10:18:40 +02:00
2021-09-09 12:55:12 -07:00
2021-09-07 19:13:42 -07:00
2021-09-01 08:44:42 -07:00
2021-09-01 15:25:28 -07:00
2021-09-01 10:29:29 -07:00
2021-09-01 15:25:28 -07:00
2021-09-03 15:33:47 -07:00
2021-09-02 15:09:46 -07:00
2021-09-11 09:20:57 -07:00
2021-09-06 12:27:03 -07:00
2021-09-02 13:16:00 -07:00
2021-09-05 11:19:15 -07:00
2021-09-11 14:48:42 -07:00
2021-09-02 13:41:33 -07:00
2021-09-11 14:48:42 -07:00
2021-09-10 11:22:23 -07:00
2021-09-11 14:48:42 -07:00
2021-09-03 15:33:47 -07:00