mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 15:18:15 +00:00
iommu/vt-d: Return false instead of 0 in irq_remapping_cap()
The function return type is bool, so return false instead of 0. Signed-off-by: Joerg Roedel <jroedel@suse.de>
This commit is contained in:
parent
f303e50766
commit
30e93761fb
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ void set_irq_remapping_broken(void)
|
||||||
bool irq_remapping_cap(enum irq_remap_cap cap)
|
bool irq_remapping_cap(enum irq_remap_cap cap)
|
||||||
{
|
{
|
||||||
if (!remap_ops || disable_irq_post)
|
if (!remap_ops || disable_irq_post)
|
||||||
return 0;
|
return false;
|
||||||
|
|
||||||
return (remap_ops->capability & (1 << cap));
|
return (remap_ops->capability & (1 << cap));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue