drivers: avoid format strings in names passed to alloc_workqueue()
[sfrench/cifs-2.6.git] / drivers / media / pci / cx18 / cx18-driver.c
index 67b61cf3e03a32fdf6e8e61fc4c3152d5a84c634..004d8ace5019a7921e1ff7e0cc189e4c260beffa 100644 (file)
@@ -695,7 +695,7 @@ static int cx18_create_in_workq(struct cx18 *cx)
 {
        snprintf(cx->in_workq_name, sizeof(cx->in_workq_name), "%s-in",
                 cx->v4l2_dev.name);
-       cx->in_work_queue = alloc_ordered_workqueue(cx->in_workq_name, 0);
+       cx->in_work_queue = alloc_ordered_workqueue("%s", 0, cx->in_workq_name);
        if (cx->in_work_queue == NULL) {
                CX18_ERR("Unable to create incoming mailbox handler thread\n");
                return -ENOMEM;