[PATCH v1 0/2] genirq/irqdesc: Make sparse happy

From: Andy Shevchenko
Date: Wed Apr 16 2025 - 07:41:36 EST


There is a conditional locking that sparse is not happy about.
Fix it by the respective code refactoring and using available
annotations.

Andy Shevchenko (2):
genirq/irqdesc: Decrease indentation level in __irq_get_desc_lock()
genirq/irqdesc: Balance locking to make sparse happy

kernel/irq/irqdesc.c | 34 +++++++++++++++++++++-------------
1 file changed, 21 insertions(+), 13 deletions(-)

--
2.47.2