ptp: vmclock: bugfixes and cleanups for error handling
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected] change-id 20250206-vmclock-probe-57cbcb770925Versions newest first
- v2 Latest5 patches 0 repliesApplied 5/5
- v14 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- Fix typo in commit message: vmclock_ptp_register()
- Retarget against net tree
- Include patch from David. It's at the start of the series so that all bugfixes are at the beginning and the logical ordering of my patches
is not disrupted.
- Pick up tags from LKML
- Link to v1: https://lore.kernel.org/r/[email protected]
Patches in v2 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ptp: vmclock: Add .owner to vmclock_miscdev_fopsdrivers/ | +1 | 0 replies | Applied |
| 2/5 | ptp: vmclock: Set driver data before its usagedrivers/ | +2 | 0 replies | Applied |
| 3/5 | ptp: vmclock: Don't unregister misc device if it was not registereddrivers/ | +2 | 0 replies | Applied |
| 4/5 | ptp: vmclock: Clean up miscdev and ptp clock through devresdrivers/ | +6 | 0 replies | Applied |
| 5/5 | ptp: vmclock: Remove goto-based cleanup logicdrivers/ | +13 | 0 replies | Applied |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Mateusz Polchlopek | Richard Cochran | David Woodhouse |
|---|---|---|---|
| 1/5 | |||
| 2/5 | R-b | A-b | R-b |
| 3/5 | A-b | R-b | |
| 4/5 | A-b | R-b | |
| 5/5 | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH net v2 0/5] ptp: vmclock: bugfixes and cleanups for error handling
Some error handling issues I noticed while looking at the code.
Only compile-tested.
---
Changes in v2:
- Fix typo in commit message: vmclock_ptp_register()
- Retarget against net tree
- Include patch from David. It's at the start of the series so that all bugfixes are at the beginning and the logical ordering of my patches
is not disrupted.
- Pick up tags from LKML
- Link to v1: https://lore.kernel.org/r/[email protected]
---
David Woodhouse (1):
ptp: vmclock: Add .owner to vmclock_miscdev_fops
Thomas Weißschuh (4):
ptp: vmclock: Set driver data before its usage
ptp: vmclock: Don't unregister misc device if it was not registered
ptp: vmclock: Clean up miscdev and ptp clock through devres
ptp: vmclock: Remove goto-based cleanup logic
drivers/ptp/ptp_vmclock.c | 47 +++++++++++++++++++++-------------------------- 1 file changed, 21 insertions(+), 26 deletions(-)
---
base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b
change-id: 20250206-vmclock-probe-57cbcb770925
Best regards,
Signature · 1 line
Thomas Weißschuh <[email protected]>