summaryrefslogtreecommitdiffstats
path: root/net/sctp/chunk.c
diff options
context:
space:
mode:
authorAlexey Dobriyan2005-07-12 05:57:47 +0200
committerDavid S. Miller2005-07-12 05:57:47 +0200
commit3182cd84f0e132558bbe106c070405ae49f1f0e3 (patch)
tree1015a20d3adb2c000c42fbaf74cecf9cff52bb50 /net/sctp/chunk.c
parent[NETLINK]: Reserve NETLINK_NETFILTER. (diff)
downloadkernel-qcow2-linux-3182cd84f0e132558bbe106c070405ae49f1f0e3.tar.gz
kernel-qcow2-linux-3182cd84f0e132558bbe106c070405ae49f1f0e3.tar.xz
kernel-qcow2-linux-3182cd84f0e132558bbe106c070405ae49f1f0e3.zip
[SCTP]: __nocast annotations
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/chunk.c')
-rw-r--r--net/sctp/chunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/chunk.c b/net/sctp/chunk.c
index 0c2ab7885058..61da2937e641 100644
--- a/net/sctp/chunk.c
+++ b/net/sctp/chunk.c
@@ -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);