Skip to content

Commit a9943ad

Browse files
committed
Merge tag 'irq_urgent_for_v6.5_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull irq update from Borislav Petkov: - Optimize IRQ domain's name assignment * tag 'irq_urgent_for_v6.5_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: irqdomain: Use return value of strreplace()
2 parents 51e3d7c + 67a4e1a commit a9943ad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

kernel/irq/irqdomain.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,7 @@ static struct irq_domain *__irq_domain_create(struct fwnode_handle *fwnode,
182182
return NULL;
183183
}
184184

185-
strreplace(name, '/', ':');
186-
187-
domain->name = name;
185+
domain->name = strreplace(name, '/', ':');
188186
domain->fwnode = fwnode;
189187
domain->flags |= IRQ_DOMAIN_NAME_ALLOCATED;
190188
}

0 commit comments

Comments
 (0)