Linux Serial subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] serial: pic32_uart: fix two error and remove paths
@ 2026-11-30 22:57 Arina Kharlamova via B4 Relay
  2026-11-30 22:57 ` [PATCH 1/2] serial: pic32_uart: do not free an IRQ that failed to be requested Arina Kharlamova via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Arina Kharlamova via B4 Relay @ 2026-11-30 22:57 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Alan Cox, Joshua Henderson,
	Ralf Baechle, Andrei Pistirica
  Cc: linux-kernel, linux-serial, Arina Kharlamova

Two fixes for the PIC32 UART driver. The error path of
pic32_uart_startup() frees the interrupt whose request has just failed,
and pic32_uart_remove() disables a clock that the shutdown of the port
has already disabled.

Found by the spec2patch formal prover, with the help of an AI coding
assistant (Claude); I reviewed the analysis and the fix.

---
Arina Kharlamova (2):
      serial: pic32_uart: do not free an IRQ that failed to be requested
      serial: pic32_uart: do not disable the clock in remove

 drivers/tty/serial/pic32_uart.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
base-commit: 25faec9ce61c01fb45abf812a222c5b43c3cd5c5
change-id: 20261129-s2p-v02-b02bb12ab0b0

Best regards,
--  
Arina Kharlamova <arina.kharlamova@mbzuai.ac.ae>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-30 23:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 22:57 [PATCH 0/2] serial: pic32_uart: fix two error and remove paths Arina Kharlamova via B4 Relay
2026-11-30 22:57 ` [PATCH 1/2] serial: pic32_uart: do not free an IRQ that failed to be requested Arina Kharlamova via B4 Relay
2026-11-30 22:57 ` [PATCH 2/2] serial: pic32_uart: do not disable the clock in remove Arina Kharlamova via B4 Relay
2026-11-30 23:02 ` [PATCH 0/2] serial: pic32_uart: fix two error and remove paths sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox