# Re: \[PATCH net-next 0/4\] ptp: vmclock: bugfixes and cleanups for error handling

- From: Mateusz Polchlopek \<hidden\>
- Date: 2025-02-07 07:13:44 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/02/2915877
- Thread: https://ratatoskr.run/netdev/2025/02/2914963/t.md

```text


On 2/6/2025 6:45 PM, Thomas Weißschuh wrote:
> Some error handling issues I noticed while looking at the code.
>
> Only compile-tested.
>
> Signed-off-by: Thomas Weißschuh <redacted>
> ---
> 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 | 46 ++++++++++++++++++++--------------------------
>   1 file changed, 20 insertions(+), 26 deletions(-)
> ---
> base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b
> change-id: 20250206-vmclock-probe-57cbcb770925
>
> Best regards,

As those all are fixes and cleanups then I think it should be tagged to
net not net-next.

thanks

```
