Skip to content

net: enetc: improve the interface for obtaining phc_index

Wei Fang imx lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 1 replyApplied 2/2

Changes in v2 from the cover letter

1. Add patch 1 to fix the issue that sleeping function called from invalid context
2. Fix the build warning of patch 2.
v1 link: https://lore.kernel.org/netdev/[email protected]/
---

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: enetc: fix sleeping function called from rcu_read_lock() contextdrivers/net/ethernet/freescale/enetc/enetc_ethtool.c+2 -10 repliesApplied
2/2net: enetc: use generic interfaces to get phc_index for ENETC v1drivers/net/ethernet/freescale/enetc/enetc.h drivers/net/ethernet/freescale/enetc/enetc_ethtool.c drivers/net/ethernet/freescale/enetc/enetc_ptp.c+10 -240 repliesApplied

Reviews trailers per patch

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

PatchVladimir Oltean
SeriesR-b T-b
1/2
2/2

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

Read the v2 thread

Cover letter [PATCH v2 net-next 0/2] net: enetc: improve the interface for obtaining phc_index

The first patch is to fix the issue that a sleeping function is called in the context of rcu_read_lock(). The second patch is to use the generic API instead of the custom API to get phc_index. In addition, the second patch depends on the first patch to work.

Note, the first patch is a fix, but the issue does not exist in the net tree, so the target tree is net-next.

---
v2 changes:
1. Add patch 1 to fix the issue that sleeping function called from invalid context
2. Fix the build warning of patch 2.
v1 link: https://lore.kernel.org/netdev/[email protected]/
---

Wei Fang (2):
net: enetc: fix sleeping function called from rcu_read_lock() context
net: enetc: use generic interfaces to get phc_index for ENETC v1

 drivers/net/ethernet/freescale/enetc/enetc.h  |  3 --
 .../ethernet/freescale/enetc/enetc_ethtool.c  | 29 ++++++++-----------
 .../net/ethernet/freescale/enetc/enetc_ptp.c  |  5 ----
 3 files changed, 12 insertions(+), 25 deletions(-)
Signature · 1 line
2.34.1