From: Rusty Russell <rusty@rustcorp.com.au>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Label kthread_create() with printf attribute tag.
Date: Mon, 21 Apr 2008 06:35:49 +1000 [thread overview]
Message-ID: <200804210635.49188.rusty@rustcorp.com.au> (raw)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
include/linux/kthread.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff -r 9b5082037972 include/linux/kthread.h
--- a/include/linux/kthread.h Mon Apr 07 17:06:45 2008 +1000
+++ b/include/linux/kthread.h Mon Apr 07 17:07:09 2008 +1000
@@ -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.
next reply other threads:[~2008-04-20 20:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-20 20:35 Rusty Russell [this message]
2008-04-20 20:38 ` [PATCH] usb: libusual kthread_run() called with wrong format Rusty Russell
-- strict thread matches above, loose matches on Subject: below --
2008-07-25 2:11 [PATCH] Label kthread_create() with printf attribute tag Rusty Russell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200804210635.49188.rusty@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.