mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 14:23:49 +01:00
[TCP] tcp_probe: use GCC printf attribute
The function in tcp_probe is printf like, use GCC to check the args. Sighed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
1 parent
63313494c4
commit
67403754bc
1 file changed
+2
-1
@@ -80,7 +80,8 @@ static void printl(const char *fmt, ...)
|
||||
|
||||
kfifo_put(tcpw.fifo, tbuf, len);
|
||||
wake_up(&tcpw.wait);
|
||||
}
|
||||
} __attribute__ ((format (printf, 1, 2)));
|
||||
|
||||
|
||||
/*
|
||||
* Hook inserted to be called before each receive packet.
|
||||
|
||||
Reference in new issue
Block a user