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

From: Andy Shevchenko
Date: Mon Nov 14 2022 - 13:48:23 EST


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