From 3bbc2688edd072cdccdeb1e0673effacd243fbfc Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 25 Jul 2008 12:11:09 +1000 Subject: [PATCH] --- yaml --- r: 105760 b: refs/heads/master c: ed9559d38a87a44e3bda87d73a50aab92471d7dc h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/kthread.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index b84faea9479b..b445f6e7d12f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fb2e405fc1fc8b20d9c78eaa1c7fd5a297efde43 +refs/heads/master: ed9559d38a87a44e3bda87d73a50aab92471d7dc diff --git a/trunk/include/linux/kthread.h b/trunk/include/linux/kthread.h index 00dd957e245b..aabc8a13ba71 100644 --- a/trunk/include/linux/kthread.h +++ b/trunk/include/linux/kthread.h @@ -6,7 +6,8 @@ struct task_struct *kthread_create(int (*threadfn)(void *data), void *data, - const char namefmt[], ...); + const char namefmt[], ...) + __attribute__((format(printf, 3, 4))); /** * kthread_run - create and wake a thread.