aboutsummaryrefslogtreecommitdiffstats
path: root/net/decnet/af_decnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/decnet/af_decnet.c')
-rw-r--r--net/decnet/af_decnet.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/decnet/af_decnet.c b/net/decnet/af_decnet.c
index 34d4128d56d5..1186dc44cdff 100644
--- a/net/decnet/af_decnet.c
+++ b/net/decnet/af_decnet.c
@@ -452,8 +452,7 @@ static struct proto dn_proto = {
452 .obj_size = sizeof(struct dn_sock), 452 .obj_size = sizeof(struct dn_sock),
453}; 453};
454 454
455static struct sock *dn_alloc_sock(struct socket *sock, 455static struct sock *dn_alloc_sock(struct socket *sock, gfp_t gfp)
456 unsigned int __nocast gfp)
457{ 456{
458 struct dn_scp *scp; 457 struct dn_scp *scp;
459 struct sock *sk = sk_alloc(PF_DECnet, gfp, &dn_proto, 1); 458 struct sock *sk = sk_alloc(PF_DECnet, gfp, &dn_proto, 1);
@@ -805,8 +804,7 @@ static int dn_auto_bind(struct socket *sock)
805 return rv; 804 return rv;
806} 805}
807 806
808static int dn_confirm_accept(struct sock *sk, long *timeo, 807static int dn_confirm_accept(struct sock *sk, long *timeo, gfp_t allocation)
809 unsigned int __nocast allocation)
810{ 808{
811 struct dn_scp *scp = DN_SK(sk); 809 struct dn_scp *scp = DN_SK(sk);
812 DEFINE_WAIT(wait); 810 DEFINE_WAIT(wait);