scst_dlm: Add __printf attribute to create_st_wq()

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6596 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-11-06 17:37:13 +00:00
parent f38dbc2dff
commit c5aa1ce1e0

View File

@@ -1298,7 +1298,8 @@ unlock_ls:
mutex_unlock(&pr_dlm->ls_mutex);
}
static struct workqueue_struct *create_st_wq(const char *fmt, ...)
static struct workqueue_struct *__printf(1, 2)
create_st_wq(const char *fmt, ...)
{
struct workqueue_struct *wq = NULL;
va_list ap;