Re: [PATCH v2 3/3] of: Make of_match_node() an inline stub for CONFIG_OF=n

2017-04-12 Thread kbuild test robot
Hi Florian, [auto build test ERROR on ljones-mfd/for-mfd-next] [also build test ERROR on v4.11-rc6 next-20170412] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH v2 3/3] of: Make of_match_node() an inline stub for CONFIG_OF=n

2017-04-11 Thread Florian Fainelli
Make of_match_node() an inline function when CONFIG_OF=n which allows the compiler to eliminate warnings about unused variables. Signed-off-by: Florian Fainelli --- include/linux/of.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git