projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb2e405
)
Label kthread_create() with printf attribute tag.
author
Rusty Russell
<rusty@rustcorp.com.au>
Fri, 25 Jul 2008 02:11:09 +0000
(12:11 +1000)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 25 Jul 2008 02:11:15 +0000
(19:11 -0700)
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>
include/linux/kthread.h
patch
|
blob
|
history
diff --git
a/include/linux/kthread.h
b/include/linux/kthread.h
index 00dd957e245b43839db5e0972e74ff541e4dafd1..aabc8a13ba71c7b6f9eab1ddf3842b18800045d4 100644
(file)
--- a/
include/linux/kthread.h
+++ b/
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.