Re: [PATCH 1/6] driver core: Introduce device_iommu_mapped() function

From: Joerg Roedel
Date: Tue Dec 11 2018 - 10:18:14 EST


On Tue, Dec 11, 2018 at 05:59:33PM +0300, Sergei Shtylyov wrote:
> > +static inline bool device_iommu_mapped(struct device *dev)
> > +{
> > + return (dev->iommu_group != NULL);
>
> You know that parens are unnecessary here, right? :-)

Yes, I know, but it feels incomplete to me without them :-)

Joerg