diff options
author | Alan Cox <alan@redhat.com> | 2006-07-10 21:24:23 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-07-10 21:50:37 (GMT) |
commit | 9faefb6d41f770e9cebad0fa180e7e78ef861211 (patch) | |
tree | 4a0670d0496613bab015d732fb35ec7bc048c77d | |
parent | c427d27452b41378e305af80db5757da048dd38e (diff) | |
download | linux-fsl-qoriq-9faefb6d41f770e9cebad0fa180e7e78ef861211.tar.xz |
[DCCP]: Fix sparse warnings.
No actual bugs that I can see just a couple of unmarked casts
getting annoying in my debug log files.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/dccp/proto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dccp/proto.c b/net/dccp/proto.c index f4f0627..6f14bb5 100644 --- a/net/dccp/proto.c +++ b/net/dccp/proto.c @@ -484,7 +484,7 @@ static int do_dccp_setsockopt(struct sock *sk, int level, int optname, err = -EINVAL; else err = dccp_setsockopt_change(sk, DCCPO_CHANGE_L, - (struct dccp_so_feat *) + (struct dccp_so_feat __user *) optval); break; @@ -493,7 +493,7 @@ static int do_dccp_setsockopt(struct sock *sk, int level, int optname, err = -EINVAL; else err = dccp_setsockopt_change(sk, DCCPO_CHANGE_R, - (struct dccp_so_feat *) + (struct dccp_so_feat __user *) optval); break; |