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

Joerg Roedel
2018-12-11T15:18:06Z

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