qemu/hw/net/can
Kohei Tokunaga 141af1b31b hw/net/can: Fix type conflict of GLib function pointers
On Emscripten, function pointer casts can result in runtime failures due to
strict function signature checks. This affects the use of g_list_sort and
g_slist_sort, which internally perform function pointer casts that are not
supported by Emscripten. To avoid these issues, g_list_sort_with_data and
g_slist_sort_with_data should be used instead, as they do not rely on
function pointer casting.

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Francisco Iglesias <francisco.iglesias@amd.com>
Message-ID: <4d47a75c5768c9a6dc5d8b3504e78837577ad70d.1745295397.git.ktokunaga.mail@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2025-04-25 17:09:53 +02:00
..
can_kvaser_pci.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
can_mioe3680_pci.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
can_pcm3680_pci.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
can_sja1000.c hw/net/can: clean-up unnecessary includes 2024-12-14 00:16:20 +01:00
can_sja1000.h hw/net/can: Make CanBusClientInfo::can_receive() return a boolean 2020-03-31 21:14:35 +08:00
ctu_can_fd_frame.h net: Replace TAB indentations with spaces 2022-11-11 09:39:03 +01:00
ctu_can_fd_regs.h net: Replace TAB indentations with spaces 2022-11-11 09:39:03 +01:00
ctucan_core.c cleanup: Drop pointless return at end of function 2025-04-24 09:33:42 +02:00
ctucan_core.h Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
ctucan_pci.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
trace-events hw/net/can: Introduce Xilinx Versal CANFD controller 2023-06-06 10:19:30 +01:00
trace.h hw/net/can: Introduce Xilinx ZynqMP CAN controller 2020-12-10 11:30:44 +00:00
xlnx-versal-canfd.c hw/net/can: Fix type conflict of GLib function pointers 2025-04-25 17:09:53 +02:00
xlnx-zynqmp-can.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00