projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66ef950
)
iommu/vt-d: Fix return value check of parse_ioapics_under_ir()
author
Joerg Roedel
<jroedel@suse.de>
Mon, 2 Nov 2015 10:57:31 +0000
(19:57 +0900)
committer
Joerg Roedel
<jroedel@suse.de>
Mon, 2 Nov 2015 10:57:31 +0000
(19:57 +0900)
The function returns 0 on success, so check for the right
value.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel_irq_remapping.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/intel_irq_remapping.c
b/drivers/iommu/intel_irq_remapping.c
index f3a9bd1bea43b398b86cca6929dca07ba2e7e77d..1fae1881648c5a87e9071d1dc9ade123baab0252 100644
(file)
--- a/
drivers/iommu/intel_irq_remapping.c
+++ b/
drivers/iommu/intel_irq_remapping.c
@@
-690,7
+690,7
@@
static int __init intel_prepare_irq_remapping(void)
if (!dmar_ir_support())
return -ENODEV;
- if (
!
parse_ioapics_under_ir()) {
+ if (parse_ioapics_under_ir()) {
pr_info("Not enabling interrupt remapping\n");
goto error;
}