Re: [RESEND PATCH v5 3/5] drivers core: allow probe_err accept integer and pointer types

From: Andy Shevchenko
Date: Thu Jun 25 2020 - 04:42:10 EST


On Wed, Jun 24, 2020 at 10:40 PM Andrzej Hajda <a.hajda@xxxxxxxxxxx> wrote:
> On 24.06.2020 17:16, Robin Murphy wrote:

...

> I have proposed such thing in my previous iteration[1], except it was
> macro because of variadic arguments.

You may have a function with variadic arguments. Macros are beasts and
make in some cases more harm than help.

--
With Best Regards,
Andy Shevchenko