The related function warn_report_once_cond() takes the flag as a
parameter.  Only the calls using the same flag suppress each other.

yep. I wonder if we could use warn_report_once_cond() in a similar
macro.

But vfio uses ->hint too which adds complexity. I will keep the
custom version I have in vfio for now.

Thanks,

C.



Reply via email to