|
@@ -419,10 +419,7 @@ __alloc_workqueue_key(const char *fmt, unsigned int flags, int max_active,
|
|
|
static struct lock_class_key __key; \
|
|
|
const char *__lock_name; \
|
|
|
\
|
|
|
- if (__builtin_constant_p(fmt)) \
|
|
|
- __lock_name = (fmt); \
|
|
|
- else \
|
|
|
- __lock_name = #fmt; \
|
|
|
+ __lock_name = #fmt#args; \
|
|
|
\
|
|
|
__alloc_workqueue_key((fmt), (flags), (max_active), \
|
|
|
&__key, __lock_name, ##args); \
|