From: Daniel Borkmann Date: Wed, 1 May 2013 02:59:23 +0000 (+0000) Subject: net: sctp: attribute printl with __printf for gcc fmt checks X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~77^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be3e45810bb1ee0bdfa93f6b9532d8c451e50f48;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed