Re: [PATCH] pci: hotplug: Replace function names with __func__ Macro

From: Joe Perches
Date: Sun Jun 02 2019 - 12:33:28 EST


On Sun, 2019-06-02 at 18:12 +0200, Emanuel Bennici wrote:
> Replace hardcoded function names with __func__ Macro so if the function
> name changes we have not to check all Messages and to retain the code
> structure.

trivia:

__func__ isn't a macro, it's a predefined identifier.
see the c90 standard section 6.4.2.2