X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fsctp%2Ftransport.c;h=d2f04ebe508103f436e7224ddbd132ff1fd815cf;hb=f35279d3f713e5c97b98cbdbf47d98f79942c11f;hp=a63b691796074bbaa52ac24f216f75a5e46c93fa;hpb=b3539219c9ea20ebf6a5ea3cc534f423a3607c41;p=linux-2.6 diff --git a/net/sctp/transport.c b/net/sctp/transport.c index a63b691796..d2f04ebe50 100644 --- a/net/sctp/transport.c +++ b/net/sctp/transport.c @@ -57,7 +57,7 @@ /* Initialize a new transport from provided memory. */ static struct sctp_transport *sctp_transport_init(struct sctp_transport *peer, const union sctp_addr *addr, - int gfp) + unsigned int __nocast gfp) { /* Copy in the address. */ peer->ipaddr = *addr; @@ -121,7 +121,8 @@ static struct sctp_transport *sctp_transport_init(struct sctp_transport *peer, } /* Allocate and initialize a new transport. */ -struct sctp_transport *sctp_transport_new(const union sctp_addr *addr, int gfp) +struct sctp_transport *sctp_transport_new(const union sctp_addr *addr, + unsigned int __nocast gfp) { struct sctp_transport *transport;