net: fix sparc64 compilation of sock_gettstamp
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 23 Apr 2019 07:25:24 +0000 (17:25 +1000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Apr 2019 01:35:17 +0000 (18:35 -0700)
commitc98f4822ed7e02ff91fd29707218779718cf60f9
treea3b88287711fa83c4d64a6f2e7a39f2b5837b9af
parent0fa4122b2dc4732e35ea11cf065bc54e0e45ed1d
net: fix sparc64 compilation of sock_gettstamp

net/core/sock.c: In function 'sock_gettstamp':
net/core/sock.c:3007:23: error: expected '}' before ';' token
    .tv_sec = ts.tv_sec;
                       ^
net/core/sock.c:3011:4: error: expected ')' before 'return'
    return -EFAULT;
    ^~~~~~
net/core/sock.c:3013:2: error: expected expression before '}' token
  }
  ^

Fixes: c7cbdbf29f48 ("net: rework SIOCGSTAMP ioctl handling")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c