71182187dd
Instead of casting an address within a uint8_t array to a uint32_t*, use stl_le_p(). This handles possibly misaligned addresses which would otherwise crash on some hosts. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz> Tested-by: Pavel Pisa <pisa@cmp.felk.cvut.cz> Signed-off-by: Jason Wang <jasowang@redhat.com> |
||
---|---|---|
.. | ||
can_kvaser_pci.c | ||
can_mioe3680_pci.c | ||
can_pcm3680_pci.c | ||
can_sja1000.c | ||
can_sja1000.h | ||
ctu_can_fd_frame.h | ||
ctu_can_fd_regs.h | ||
ctucan_core.c | ||
ctucan_core.h | ||
ctucan_pci.c | ||
meson.build |