Re: [PATCH] tty: tty_jobctrl: use guard()s in tiocspgrp()
From: Jiri Slaby
Date: Wed Jul 01 2026 - 00:11:44 EST
On 01. 07. 26, 5:27, John de la Garza wrote:
Convert the manual spin_lock_irq()/rcu_read_lock() nesting in tiocspgrp()
to scoped guard()s. This drops the out_unlock and out_unlock_ctrl labels
and lets the error paths return directly.
No functional change intended.
Nice cleanup!
Reviewed-by: Jiri Slaby <jirislaby@xxxxxxxxxx>
Signed-off-by: John de la Garza <john@xxxxxxxxx>thanks,
--
js
suse labs