[PATCH net-next v2 0/4] net: fec: a few improvements

From: Sergey Organov
Date: Wed Jul 15 2020 - 11:43:10 EST


This is a collection of simple improvements that reduce and/or
simplify code. They got developed out of attempt to use DP83640 PTP
PHY connected to built-in FEC (that has its own PTP support) of the
iMX 6SX micro-controller. The primary bug-fix was now submitted
separately, and this is the rest of the changes.

NOTE: the patches are developed and tested on 4.9.146, and rebased on
top of recent 'net-next/master', where, besides visual inspection, I
only tested that they do compile.

Sergey Organov (4):
net: fec: enable to use PPS feature without time stamping
net: fec: initialize clock with 0 rather than current kernel time
net: fec: get rid of redundant code in fec_ptp_set()
net: fec: replace snprintf() with strlcpy() in fec_ptp_init()

v2:
- bug-fix patch from original series submitted separately
- added Acked-by: where applicable

drivers/net/ethernet/freescale/fec_ptp.c | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)

--
2.10.0.1.g57b01a3