提交 ed9559d3 编写于 作者: R Rusty Russell 提交者: Linus Torvalds

Label kthread_create() with printf attribute tag.

Obvious misc patch been in my queue (& linux-next) for over a cycle.
Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 fb2e405f
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
struct task_struct *kthread_create(int (*threadfn)(void *data), struct task_struct *kthread_create(int (*threadfn)(void *data),
void *data, void *data,
const char namefmt[], ...); const char namefmt[], ...)
__attribute__((format(printf, 3, 4)));
/** /**
* kthread_run - create and wake a thread. * kthread_run - create and wake a thread.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册