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
/
spear-shirq.c
diff --git
a/drivers/irqchip/spear-shirq.c
b/drivers/irqchip/spear-shirq.c
index 1ccd2abed65f5348d0beaa114a2d1326c8cc1b67..1518ba31a80c99ba67d11ce8c83aa8988486cbd3 100644
(file)
--- a/
drivers/irqchip/spear-shirq.c
+++ b/
drivers/irqchip/spear-shirq.c
@@
-232,7
+232,7
@@
static int __init shirq_init(struct spear_shirq **shirq_blocks, int block_nr,
nr_irqs += shirq_blocks[i]->nr_irqs;
virq_base = irq_alloc_descs(-1, 0, nr_irqs, 0);
- if (
IS_ERR_VALUE(virq_base)
) {
+ if (
virq_base < 0
) {
pr_err("%s: irq desc alloc failed\n", __func__);
goto err_unmap;
}
This page took
0.024997 seconds
and
5
git commands to generate.