From: Helge Deller <deller@gmx.de>
To: netfilter-devel@vger.kernel.org, davem@davemloft.net,
Patrick McHardy <kaber@trash.net>
Subject: Re: [PATCH] add netfilter gcc printf format checking
Date: Thu, 17 Jan 2008 22:37:20 +0100 [thread overview]
Message-ID: <200801172237.20884.deller@gmx.de> (raw)
In-Reply-To: <478C5BCA.8070900@trash.net>
updated patch against net-2.6.25 git tree below
=============================
[PATCH] add netfilter gcc printf format checking
Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/include/net/netfilter/nf_log.h b/include/net/netfilter/nf_log.h
index 037e824..8c6b5ae 100644
--- a/include/net/netfilter/nf_log.h
+++ b/include/net/netfilter/nf_log.h
@@ -54,6 +54,6 @@ void nf_log_packet(int pf,
const struct net_device *in,
const struct net_device *out,
const struct nf_loginfo *li,
- const char *fmt, ...);
+ const char *fmt, ...) __attribute__ ((format(printf,7,8)));
#endif /* _NF_LOG_H */
next prev parent reply other threads:[~2008-01-17 21:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-06 13:45 [PATCH] add netfilter gcc printf format checking Helge Deller
2008-01-06 20:16 ` Helge Deller
2008-01-15 7:07 ` Patrick McHardy
2008-01-17 21:37 ` Helge Deller [this message]
2008-01-20 13:05 ` Patrick McHardy
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=200801172237.20884.deller@gmx.de \
--to=deller@gmx.de \
--cc=davem@davemloft.net \
--cc=kaber@trash.net \
--cc=netfilter-devel@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.