[PATCH v2 1/2] drm: Move for_each_if() to util_macros.h for wider use

Andy Shevchenko andriy.shevchenko at linux.intel.com
Thu Feb 13 18:51:22 UTC 2025


On Thu, Feb 13, 2025 at 08:48:02PM +0200, Jani Nikula wrote:
> On Thu, 13 Feb 2025, Andy Shevchenko <andriy.shevchenko at linux.intel.com> wrote:
> > Other subsystem(s) may want to reuse the for_each_if() macro.
> > Move it to util_macros.h to make it globally available.

> Acked-by: Jani Nikula <jani.nikula at intel.com>

Thanks!

> If you want to go down the memory lane, see [1]. ;)
> 
> [1] https://lore.kernel.org/r/20180709083650.23549-1-daniel.vetter@ffwll.ch

Yeah, I have read it a few hours ago to refresh my memories.

-- 
With Best Regards,
Andy Shevchenko




More information about the dri-devel mailing list