Date: Mon, 25 Jun 2012 16:52:27 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r237563 - head/sys/ofed/include/linux Message-ID: <201206251652.q5PGqRG0084470@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: np Date: Mon Jun 25 16:52:27 2012 New Revision: 237563 URL: http://svn.freebsd.org/changeset/base/237563 Log: Fix clang warning when compiling iw_cxgb. Reported by: rene, dim Modified: head/sys/ofed/include/linux/workqueue.h Modified: head/sys/ofed/include/linux/workqueue.h ============================================================================== --- head/sys/ofed/include/linux/workqueue.h Mon Jun 25 12:30:51 2012 (r237562) +++ head/sys/ofed/include/linux/workqueue.h Mon Jun 25 16:52:27 2012 (r237563) @@ -129,7 +129,7 @@ _create_workqueue_common(char *name, int wq = kmalloc(sizeof(*wq), M_WAITOK); wq->taskqueue = taskqueue_create((name), M_WAITOK, taskqueue_thread_enqueue, &wq->taskqueue); - taskqueue_start_threads(&wq->taskqueue, cpus, PWAIT, (name)); + taskqueue_start_threads(&wq->taskqueue, cpus, PWAIT, "%s", name); return (wq); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206251652.q5PGqRG0084470>