Re: [PATCH] iommu/vt-d: Ratelimit fault handler

From: Joe Perches
Date: Tue Mar 15 2016 - 14:01:25 EST


On Tue, 2016-03-15 at 10:10 -0700, Joe Perches wrote:
> o Use a single ratelimit state.
[]
> diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c
[]
> + if (__ratelimit(&rs))
> + return 0;

That of course should be:

if (!__ratelimit(&rs))
return 0;