scst_dlm: Add __printf attribute to create_st_wq()

This commit is contained in:
Bart Van Assche
2015-09-15 13:32:40 -07:00
parent 9ab01968d3
commit e8f50e1915

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;