Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[NETFILTER]: nf_log: add netfilter gcc printf format checking

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Helge Deller and committed by
David S. Miller
000e8a53 b4164998

+1 -1
+1 -1
include/net/netfilter/nf_log.h
··· 54 54 const struct net_device *in, 55 55 const struct net_device *out, 56 56 const struct nf_loginfo *li, 57 - const char *fmt, ...); 57 + const char *fmt, ...) __attribute__ ((format(printf,7,8))); 58 58 59 59 #endif /* _NF_LOG_H */