projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4730d22
)
irqchip/csky: Return true/false (not 1/0) from bool functions
author
Haowen Bai
<baihaowen@meizu.com>
Thu, 17 Mar 2022 03:21:24 +0000
(11:21 +0800)
committer
Marc Zyngier
<maz@kernel.org>
Wed, 4 May 2022 15:49:47 +0000
(16:49 +0100)
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
drivers/irqchip/irq-csky-apb-intc.c
patch
|
blob
|
history
diff --git
a/drivers/irqchip/irq-csky-apb-intc.c
b/drivers/irqchip/irq-csky-apb-intc.c
index d36f536506ba48472bed47c93832aac7234a17f7..42d8a2438ebc2910f79bb852146a1ba338c4cbe9 100644
(file)
--- a/
drivers/irqchip/irq-csky-apb-intc.c
+++ b/
drivers/irqchip/irq-csky-apb-intc.c
@@
-136,11
+136,11
@@
static inline bool handle_irq_perbit(struct pt_regs *regs, u32 hwirq,
u32 irq_base)
{
if (hwirq == 0)
- return
0
;
+ return
false
;
generic_handle_domain_irq(root_domain, irq_base + __fls(hwirq));
- return
1
;
+ return
true
;
}
/* gx6605s 64 irqs interrupt controller */