mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 05:44:11 +00:00
irqchip/csky: Return true/false (not 1/0) from bool functions
Return boolean values ("true" or "false") instead of 1 or 0 from bool functions. Signed-off-by: Haowen Bai <baihaowen@meizu.com> Acked-by: Guo Ren <guoren@kernel.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/1647487284-30088-1-git-send-email-baihaowen@meizu.com
This commit is contained in:
parent
4730d22333
commit
0c16e931a7
1 changed files with 2 additions and 2 deletions
|
@ -136,11 +136,11 @@ static inline bool handle_irq_perbit(struct pt_regs *regs, u32 hwirq,
|
||||||
u32 irq_base)
|
u32 irq_base)
|
||||||
{
|
{
|
||||||
if (hwirq == 0)
|
if (hwirq == 0)
|
||||||
return 0;
|
return false;
|
||||||
|
|
||||||
generic_handle_domain_irq(root_domain, irq_base + __fls(hwirq));
|
generic_handle_domain_irq(root_domain, irq_base + __fls(hwirq));
|
||||||
|
|
||||||
return 1;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* gx6605s 64 irqs interrupt controller */
|
/* gx6605s 64 irqs interrupt controller */
|
||||||
|
|
Loading…
Reference in a new issue