Skip to content

convert can drivers to use ndo_hwtstamp callbacks

Vadim Fedorenko linux-can netdev 1 version Applied

Status from this message: applied to linux-can-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3can: convert generic HW timestamp ioctl to ndo_hwtstamp callbacksdrivers/net/can/dev/dev.c drivers/net/can/esd/esd_402_pci-core.c drivers/net/can/kvaser_pciefd/kvaser_pciefd_core.c +5 more+54 -321 reply
2/3can: peak_canfd: convert to use ndo_hwtstamp callbacksdrivers/net/can/peak_canfd/peak_canfd.c+16 -191 reply
3/3can: peak_usb: convert to use ndo_hwtstamp callbacksdrivers/net/can/usb/peak_usb/pcan_usb_core.c+18 -211 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchVincent MailholKory Maincent
SeriesR-b
1/3R-b
2/3R-b
3/3R-b

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 0/3] convert can drivers to use ndo_hwtstamp callbacks

The patchset converts generic ioctl implementation into a pair of ndo_hwtstamp_get/ndo_hwtstamp_set generic callbacks and replaces callbacks in drivers.

Vadim Fedorenko (3):
can: convert generic HW timestamp ioctl to ndo_hwtstamp callbacks
can: peak_canfd: convert to use ndo_hwtstamp callbacks
can: peak_usb: convert to use ndo_hwtstamp callbacks

 drivers/net/can/dev/dev.c                     | 45 +++++++++----------
 drivers/net/can/esd/esd_402_pci-core.c        |  3 +-
 .../can/kvaser_pciefd/kvaser_pciefd_core.c    |  3 +-
 drivers/net/can/peak_canfd/peak_canfd.c       | 35 +++++++--------
 .../net/can/spi/mcp251xfd/mcp251xfd-core.c    |  3 +-
 drivers/net/can/usb/etas_es58x/es58x_core.c   |  3 +-
 drivers/net/can/usb/gs_usb.c                  | 20 +++++++--
 .../net/can/usb/kvaser_usb/kvaser_usb_core.c  |  3 +-
 drivers/net/can/usb/peak_usb/pcan_usb_core.c  | 39 ++++++++--------
 include/linux/can/dev.h                       |  6 ++-
 10 files changed, 88 insertions(+), 72 deletions(-)
Signature · 1 line
2.47.3