]> err.no Git - linux-2.6/blobdiff - net/sctp/chunk.c
[PATCH] sunrpc: cache_register can use wrong module reference
[linux-2.6] / net / sctp / chunk.c
index 0c2ab7885058f4acf100fda3ad25723ce8b9fb05..61da2937e641faa8973281fc57fd2c735dd14fbf 100644 (file)
@@ -62,7 +62,7 @@ static void sctp_datamsg_init(struct sctp_datamsg *msg)
 }
 
 /* Allocate and initialize datamsg. */
-SCTP_STATIC struct sctp_datamsg *sctp_datamsg_new(int gfp)
+SCTP_STATIC struct sctp_datamsg *sctp_datamsg_new(unsigned int __nocast gfp)
 {
        struct sctp_datamsg *msg;
        msg = kmalloc(sizeof(struct sctp_datamsg), gfp);