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

Tian, Kevin
2024-06-25T02:28:23Z

> From: Lu Baolu <baolu.lu@linux.intel.com>
> 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@linux.intel.com>

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