linux/drivers/net/can
Marc Kleine-Budde 9c100bc3ec can: rockchip_canfd: rkcanfd_timestamp_init(): fix 64 bit division on 32 bit platforms
On some 32-bit platforms (at least on parisc), the compiler generates
a call to __divdi3() from the u32 by 3 division in
rkcanfd_timestamp_init(), which results in the following linker
error:

| ERROR: modpost: "__divdi3" [drivers/net/can/rockchip/rockchip_canfd.ko] undefined!

As this code doesn't run in the hot path, a 64 bit by 32 bit division
is OK, even on 32 bit platforms. Use an explicit call to div_u64() to
fix linking.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409072304.lCQWyNLU-lkp@intel.com/
Link: https://patch.msgid.link/20240909-can-rockchip_canfd-fix-64-bit-division-v1-1-2748d9422b00@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2024-09-09 08:31:02 +02:00
..
c_can
cc770 net: can: cc770: Simplify parsing DT properties 2024-09-09 08:16:36 +02:00
ctucanfd
dev can: dev: Remove setting of RX software timestamp 2024-09-03 15:17:47 -07:00
esd can: esd_402_pci: Add support for one-shot mode 2024-08-05 17:32:00 +02:00
flexcan can: flexcan: add wakeup support for imx95 2024-08-05 16:45:45 +02:00
ifi_canfd
m_can can: m_can: Limit coalescing to peripheral instances 2024-08-06 09:25:31 +02:00
mscan can: mscan: remove unused struct 'mscan_state' 2024-06-20 11:57:39 +02:00
peak_canfd can: peak_canfd: Remove setting of RX software timestamp 2024-09-03 15:17:47 -07:00
rcar can: rcar_canfd: Remove superfluous parentheses in address calculations 2024-06-28 09:34:42 +02:00
rockchip can: rockchip_canfd: rkcanfd_timestamp_init(): fix 64 bit division on 32 bit platforms 2024-09-09 08:31:02 +02:00
sja1000 can: sja1000: plx_pci: Reuse predefined CTI subvendor ID 2024-06-20 11:52:56 +02:00
slcan
softing
spi can: mcp251x: fix deadlock if an interrupt occurs during mcp251x_open 2024-08-22 09:47:09 +02:00
usb can: peak_usb: Remove setting of RX software timestamp 2024-09-03 15:17:48 -07:00
at91_can.c
bxcan.c
can327.c
grcan.c
janz-ican3.c
Kconfig can: rockchip_canfd: add driver for Rockchip CAN-FD controller 2024-09-04 14:41:51 +02:00
kvaser_pciefd.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-09-05 20:37:20 -07:00
Makefile can: rockchip_canfd: add driver for Rockchip CAN-FD controller 2024-09-04 14:41:51 +02:00
sun4i_can.c
ti_hecc.c
vcan.c net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
vxcan.c net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
xilinx_can.c can: xilinx_can: Document driver description to list all supported IPs 2024-06-20 11:52:57 +02:00