projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f303e50
)
iommu/vt-d: Return false instead of 0 in irq_remapping_cap()
author
Joerg Roedel
<jroedel@suse.de>
Thu, 13 Aug 2015 09:13:17 +0000
(11:13 +0200)
committer
Joerg Roedel
<jroedel@suse.de>
Thu, 13 Aug 2015 17:49:41 +0000
(19:49 +0200)
The function return type is bool, so return false instead
of 0.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/irq_remapping.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/irq_remapping.c
b/drivers/iommu/irq_remapping.c
index
2d99930
..
913455a
100644
(file)
--- a/
drivers/iommu/irq_remapping.c
+++ b/
drivers/iommu/irq_remapping.c
@@
-84,7
+84,7
@@
void set_irq_remapping_broken(void)
bool irq_remapping_cap(enum irq_remap_cap cap)
{
if (!remap_ops || disable_irq_post)
- return
0
;
+ return
false
;
return (remap_ops->capability & (1 << cap));
}