Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Trivial conflicts in net/can/isotp.c and tools/testing/selftests/net/mptcp/mptcp_connect.sh scaled_ppm_to_ppb() was moved from drivers/ptp/ptp_clock.c to include/linux/ptp_clock_kernel.h in -next so re-apply the fix there. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
commit
adc2e56ebe
858 changed files with 9191 additions and 4065 deletions
|
|
@ -191,7 +191,7 @@ struct ptp_clock_event {
|
|||
*
|
||||
* @ppm: Parts per million, but with a 16 bit binary fractional field
|
||||
*/
|
||||
static inline s32 scaled_ppm_to_ppb(long ppm)
|
||||
static inline long scaled_ppm_to_ppb(long ppm)
|
||||
{
|
||||
/*
|
||||
* The 'freq' field in the 'struct timex' is in parts per
|
||||
|
|
@ -209,7 +209,7 @@ static inline s32 scaled_ppm_to_ppb(long ppm)
|
|||
|
||||
ppb *= 125;
|
||||
ppb >>= 13;
|
||||
return (s32)ppb;
|
||||
return (long)ppb;
|
||||
}
|
||||
|
||||
#if IS_REACHABLE(CONFIG_PTP_1588_CLOCK)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue