Re: [PATCH net-next] mlxsw: spectrum_ptp: Fix compilation on 32-bit ARM

2019-06-18 Thread David Miller
From: Shalom Toledo Date: Tue, 18 Jun 2019 12:45:35 + > Compilation on 32-bit ARM fails after commit 992aa864dca0 ("mlxsw: > spectrum_ptp: Add implementation for physical hardware clock operations") > because of 64-bit division: > > arm-linux-gnueabi-ld: > drivers/net/ethernet/mellanox/mlxsw

[PATCH net-next] mlxsw: spectrum_ptp: Fix compilation on 32-bit ARM

2019-06-18 Thread Shalom Toledo
Compilation on 32-bit ARM fails after commit 992aa864dca0 ("mlxsw: spectrum_ptp: Add implementation for physical hardware clock operations") because of 64-bit division: arm-linux-gnueabi-ld: drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.o: in function `mlxsw_sp1_ptp_phc_settime': spectrum_ptp.c