Commit 4838bc9e authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Jakub Kicinski
Browse files

ptp: Convert chardev code to lock guards



Convert the various spin_lock_irqsave() protected critical regions to
scoped guards. Use spinlock_irq instead of spinlock_irqsave as all the
functions are invoked in thread context with interrupts enabled.

No functional change intended.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20250625115133.425029269@linutronix.de


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 745e3c75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment