Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9faefb6d authored by Alan Cox's avatar Alan Cox Committed by David S. Miller
Browse files

[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: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c427d274
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;