diff options
author | Raanan Avargil <raanan.avargil@intel.com> | 2015-10-01 13:48:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-05 13:02:59 +0200 |
commit | 8695a144da9e500a5a60fa34c06694346ec1048f (patch) | |
tree | bd3b0e2b8200b609c0822be43177ef4f2009e70c /include/dt-bindings/soc | |
parent | net: lpc_eth: fix warnings caused by enabling unprepared clock (diff) | |
download | linux-8695a144da9e500a5a60fa34c06694346ec1048f.tar.xz linux-8695a144da9e500a5a60fa34c06694346ec1048f.zip |
tcp/dccp: fix old style declarations
I’m using the compilation flag -Werror=old-style-declaration, which
requires that the “inline” word would come at the beginning of the code
line.
$ make drivers/net/ethernet/intel/e1000e/e1000e.ko
...
include/net/inet_timewait_sock.h:116:1: error: ‘inline’ is not at
beginning of declaration [-Werror=old-style-declaration]
static void inline inet_twsk_schedule(struct inet_timewait_sock *tw, int
timeo)
include/net/inet_timewait_sock.h:121:1: error: ‘inline’ is not at
beginning of declaration [-Werror=old-style-declaration]
static void inline inet_twsk_reschedule(struct inet_timewait_sock *tw,
int timeo)
Fixes: ed2e92394589 ("tcp/dccp: fix timewait races in timer handling")
Signed-off-by: Raanan Avargil <raanan.avargil@intel.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/dt-bindings/soc')
0 files changed, 0 insertions, 0 deletions