RE: [PATCH 1/2] iommu/vt-d: Convert dmar_ats_supported() to return bool

From: Tian, Kevin
Date: Mon Jun 24 2024 - 22:28:35 EST


> From: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> Sent: Monday, June 24, 2024 1:25 PM
>
> dmar_ats_supported() returns an integer that is used as a boolean. Since
> it all it needs is to return true or false, change the return type from
> int to bool to make it a bit more readable and obvious.
>
> Cleanup this helper accordingly with no functional change intended.
>
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>