diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/pppol2tp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pppol2tp.c b/drivers/net/pppol2tp.c index f87176055d0e..266e8b38fe10 100644 --- a/drivers/net/pppol2tp.c +++ b/drivers/net/pppol2tp.c | |||
@@ -2054,7 +2054,7 @@ end: | |||
2054 | */ | 2054 | */ |
2055 | static int pppol2tp_tunnel_getsockopt(struct sock *sk, | 2055 | static int pppol2tp_tunnel_getsockopt(struct sock *sk, |
2056 | struct pppol2tp_tunnel *tunnel, | 2056 | struct pppol2tp_tunnel *tunnel, |
2057 | int optname, int __user *val) | 2057 | int optname, int *val) |
2058 | { | 2058 | { |
2059 | int err = 0; | 2059 | int err = 0; |
2060 | 2060 | ||
@@ -2077,7 +2077,7 @@ static int pppol2tp_tunnel_getsockopt(struct sock *sk, | |||
2077 | */ | 2077 | */ |
2078 | static int pppol2tp_session_getsockopt(struct sock *sk, | 2078 | static int pppol2tp_session_getsockopt(struct sock *sk, |
2079 | struct pppol2tp_session *session, | 2079 | struct pppol2tp_session *session, |
2080 | int optname, int __user *val) | 2080 | int optname, int *val) |
2081 | { | 2081 | { |
2082 | int err = 0; | 2082 | int err = 0; |
2083 | 2083 | ||