projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/radeon/atpx: hybrid platforms use d3cold
[deliverable/linux.git]
/
drivers
/
irqchip
/
irq-hip04.c
diff --git
a/drivers/irqchip/irq-hip04.c
b/drivers/irqchip/irq-hip04.c
index 9688d2e2a6364d2accbe77f323dd3b9f1d735dfa..9e25d8ce08e5b48f91b7dccc6c44e2eedea8151f 100644
(file)
--- a/
drivers/irqchip/irq-hip04.c
+++ b/
drivers/irqchip/irq-hip04.c
@@
-402,7
+402,7
@@
hip04_of_init(struct device_node *node, struct device_node *parent)
nr_irqs -= hwirq_base; /* calculate # of irqs to allocate */
irq_base = irq_alloc_descs(-1, hwirq_base, nr_irqs, numa_node_id());
- if (
IS_ERR_VALUE(irq_base)
) {
+ if (
irq_base < 0
) {
pr_err("failed to allocate IRQ numbers\n");
return -EINVAL;
}
This page took
0.026854 seconds
and
5
git commands to generate.