mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-10-04 16:49:17 +00:00
Label kthread_create() with printf attribute tag.
Obvious misc patch been in my queue (& linux-next) for over a cycle. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
fb2e405fc1
commit
ed9559d38a
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user