]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'net-dsa-microchip-fix-resource-releases-in-error-path'
authorPaolo Abeni <pabeni@redhat.com>
Tue, 25 Nov 2025 11:32:42 +0000 (12:32 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 25 Nov 2025 11:32:43 +0000 (12:32 +0100)
commitf98e3ca2e4306a0c9deba1769248b25859db8a3d
treef7123346db688ce93444c9508059efaeb47bc75a
parent7526183cfdbe352c51c285762f0e15b7c428ea06
parentd0b8fec8ae50525b57139393d0bb1f446e82ff7e
Merge branch 'net-dsa-microchip-fix-resource-releases-in-error-path'

Bastien Curutchet says:

====================
net: dsa: microchip: Fix resource releases in error path

I worked on adding PTP support for the KSZ8463. While doing so, I ran
into a few bugs in the resource release process that occur when things go
wrong arount IRQ initialization.

This small series fixes those bugs.

The next series, which will add the PTP support, depend on this one.

Signed-off-by: Bastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com>
---
Bastien Curutchet (Schneider Electric) (5):
      net: dsa: microchip: common: Fix checks on irq_find_mapping()
      net: dsa: microchip: ptp: Fix checks on irq_find_mapping()
      net: dsa: microchip: Don't free uninitialized ksz_irq
      net: dsa: microchip: Free previously initialized ports on init failures
      net: dsa: microchip: Fix symetry in ksz_ptp_msg_irq_{setup/free}()

 drivers/net/dsa/microchip/ksz_common.c | 31 +++++++++++++++----------------
 drivers/net/dsa/microchip/ksz_ptp.c    | 22 +++++++++-------------
 2 files changed, 24 insertions(+), 29 deletions(-)
---
base-commit: 09652e543e809c2369dca142fee5d9b05be9bdc7
change-id: 20251031-ksz-fix-db345df7635f

Best regards,
====================

Link: https://patch.msgid.link/20251120-ksz-fix-v6-0-891f80ae7f8f@bootlin.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>