Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30e93761 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

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: default avatarJoerg Roedel <jroedel@suse.de>
parent f303e507
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));
}