Skip to content

remove open coded ns_to_timespec64 and reverse

Richard Cochran lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11ptp: blackfin: use helpers for converting ns to timespec.drivers/net/ethernet/adi/bfin_mac.c+3 -50 replies
2/11ptp: bnx2x: use helpers for converting ns to timespec.drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c+2 -50 replies
3/11ptp: tg3: use helpers for converting ns to timespec.drivers/net/ethernet/broadcom/tg3.c+1 -30 replies
4/11ptp: fec: use helpers for converting ns to timespec.drivers/net/ethernet/freescale/fec_ptp.c+2 -50 replies
5/11ptp: gianfar: use helpers for converting ns to timespec.drivers/net/ethernet/freescale/gianfar_ptp.c+3 -50 replies
6/11ptp: e1000e: use helpers for converting ns to timespec.drivers/net/ethernet/intel/e1000e/ptp.c+1 -31 reply
7/11ptp: igb: use helpers for converting ns to timespec.drivers/net/ethernet/intel/igb/igb_ptp.c+2 -50 replies
8/11ptp: ixgbe: use helpers for converting ns to timespec.drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c+2 -50 replies
9/11ptp: mlx4: use helpers for converting ns to timespec.drivers/net/ethernet/mellanox/mlx4/en_clock.c+1 -30 replies
10/11ptp: stmmac: use helpers for converting ns to timespec.drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c+1 -30 replies
11/11ptp: cpts: use helpers for converting ns to timespec.drivers/net/ethernet/ti/cpts.c+2 -50 replies

Reviews trailers per patch

1 of 11 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJacob Keller
SeriesA-b
1/11
2/11
3/11
4/11
5/11
6/11A-b
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 00/11] remove open coded ns_to_timespec64 and reverse

This patch series is a follow up to the recent timespec64 work for the PTP Hardware Clock drivers. Arnd noticed that drivers are using open coded implementations of ns_to_timespec64 and timespec64_to_ns. This series replaces the open coded logic with the helper functions.

Thanks,
Richard

Richard Cochran (11):
ptp: blackfin: use helpers for converting ns to timespec.
ptp: bnx2x: use helpers for converting ns to timespec.
ptp: tg3: use helpers for converting ns to timespec.
ptp: fec: use helpers for converting ns to timespec.
ptp: gianfar: use helpers for converting ns to timespec.
ptp: e1000e: use helpers for converting ns to timespec.
ptp: igb: use helpers for converting ns to timespec.
ptp: ixgbe: use helpers for converting ns to timespec.
ptp: mlx4: use helpers for converting ns to timespec.
ptp: stmmac: use helpers for converting ns to timespec.
ptp: cpts: use helpers for converting ns to timespec.

 drivers/net/ethernet/adi/bfin_mac.c              |    8 +++-----
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c |    7 ++-----
 drivers/net/ethernet/broadcom/tg3.c              |    4 +---
 drivers/net/ethernet/freescale/fec_ptp.c         |    7 ++-----
 drivers/net/ethernet/freescale/gianfar_ptp.c     |    8 +++-----
 drivers/net/ethernet/intel/e1000e/ptp.c          |    4 +---
 drivers/net/ethernet/intel/igb/igb_ptp.c         |    7 ++-----
 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c     |    7 ++-----
 drivers/net/ethernet/mellanox/mlx4/en_clock.c    |    4 +---
 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c |    4 +---
 drivers/net/ethernet/ti/cpts.c                   |    7 ++-----
 11 files changed, 20 insertions(+), 47 deletions(-)
Signature · 1 line
1.7.10.4