[SCTP]: __nocast annotations
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
63522f7fdb
commit
3182cd84f0
@@ -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);
|
||||
|
Reference in New Issue
Block a user