You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 months ago
..
can_kvaser_pci.c qom: Make InterfaceInfo[] uses const 2 months ago
can_mioe3680_pci.c qom: Make InterfaceInfo[] uses const 2 months ago
can_pcm3680_pci.c qom: Make InterfaceInfo[] uses const 2 months ago
can_sja1000.c hw/net/can: clean-up unnecessary includes 7 months ago
can_sja1000.h hw/net/can: Make CanBusClientInfo::can_receive() return a boolean 5 years ago
ctu_can_fd_frame.h net: Replace TAB indentations with spaces 3 years ago
ctu_can_fd_regs.h net: Replace TAB indentations with spaces 3 years ago
ctucan_core.c cleanup: Drop pointless return at end of function 2 months ago
ctucan_core.h Replace config-time define HOST_WORDS_BIGENDIAN 3 years ago
ctucan_pci.c qom: Make InterfaceInfo[] uses const 2 months ago
meson.build meson: Replace softmmu_ss -> system_ss 2 years ago
trace-events hw/net/can: Introduce Xilinx Versal CANFD controller 2 years ago
trace.h hw/net/can: Introduce Xilinx ZynqMP CAN controller 5 years ago
xlnx-versal-canfd.c hw/net/can: Fix type conflict of GLib function pointers 2 months ago
xlnx-zynqmp-can.c qom: Have class_init() take a const data argument 2 months ago