summaryrefslogtreecommitdiff
path: root/net/sctp/ssnmap.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2005-07-11 20:57:47 -0700
committerDavid S. Miller <davem@davemloft.net>2005-07-11 20:57:47 -0700
commit3182cd84f0e132558bbe106c070405ae49f1f0e3 (patch)
tree1015a20d3adb2c000c42fbaf74cecf9cff52bb50 /net/sctp/ssnmap.c
parent63522f7fdb624adef20cb9d90c7effcd5b6301b2 (diff)
[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/ssnmap.c')
-rw-r--r--net/sctp/ssnmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sctp/ssnmap.c b/net/sctp/ssnmap.c
index e627d2b451b6..25037daf3fa0 100644
--- a/net/sctp/ssnmap.c
+++ b/net/sctp/ssnmap.c
@@ -57,7 +57,8 @@ static inline size_t sctp_ssnmap_size(__u16 in, __u16 out)
/* Create a new sctp_ssnmap.
* Allocate room to store at least 'len' contiguous TSNs.
*/
-struct sctp_ssnmap *sctp_ssnmap_new(__u16 in, __u16 out, int gfp)
+struct sctp_ssnmap *sctp_ssnmap_new(__u16 in, __u16 out,
+ unsigned int __nocast gfp)
{
struct sctp_ssnmap *retval;
int size;