diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-05-01 02:59:23 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-01 15:04:10 -0400 |
commit | be3e45810bb1ee0bdfa93f6b9532d8c451e50f48 (patch) | |
tree | e3b0459c58392a649de5703111c9a9fa516eec21 /arch | |
parent | ee1bec9b3b49ea05e97ef40a3d38b70628cb947a (diff) |
net: sctp: attribute printl with __printf for gcc fmt checks
Let GCC check for format string errors in sctp's probe printl
function. This patch fixes the warning when compiled with W=1:
net/sctp/probe.c:73:2: warning: function might be possible candidate
for 'gnu_printf' format attribute [-Wmissing-format-attribute]
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions