[PATCH v2 1/4] i915: Move list_count() to list.h for broader use

Andy Shevchenko andriy.shevchenko at linux.intel.com
Mon Nov 14 18:48:09 UTC 2022


On Mon, Nov 14, 2022 at 06:11:51PM +0000, Ruhl, Michael J wrote:

...

> So all of the non-list_for_each code appears to be an inline.

This is not true.

> This which, resembles the non-list_for_each pattern is a macro?
> 
> Just curious as to why the macro rather than inline?

See above. However, I'm fine with the inline.

-- 
With Best Regards,
Andy Shevchenko




More information about the dri-devel mailing list