Re: [PATCH] locking/static_keys: avoid nested functions

2016-02-08 Thread Jason Baron
On 02/08/2016 09:36 AM, Arnd Bergmann wrote: > clang does not support nested functions inside of an array definition: > > lib/test_static_keys.c:105:16: error: function definition is not allowed here > .test_key = test_key_func(&old_true_key, > static_key_true), > li

[PATCH] locking/static_keys: avoid nested functions

2016-02-08 Thread Arnd Bergmann
clang does not support nested functions inside of an array definition: lib/test_static_keys.c:105:16: error: function definition is not allowed here .test_key = test_key_func(&old_true_key, static_key_true), lib/test_static_keys.c:50:20: note: expanded from macro 'te