]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCTP]: Fix compiler warning about const qualifiers
authorVlad Yasevich <vladislav.yasevich@hp.com>
Sun, 13 Apr 2008 01:40:06 +0000 (18:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Apr 2008 01:40:06 +0000 (18:40 -0700)
commitab38fb04c9f8928cfaf6f4966633d783419906a1
treee7025f9cc3979a509081eb7ad93f5f6a39610c71
parentf4ad85ca3ef8a1ede76c5020a28a8f4057b4d24f
[SCTP]: Fix compiler warning about const qualifiers

Fix 3 warnings about discarding const qualifiers:

net/sctp/ulpevent.c:862: warning: passing argument 1 of 'sctp_event2skb' discards qualifiers from pointer target type
net/sctp/sm_statefuns.c:4393: warning: passing argument 1 of 'SCTP_ASOC' discards qualifiers from pointer target type
net/sctp/socket.c:5874: warning: passing argument 1 of 'cmsg_nxthdr' discards qualifiers from pointer target type

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/ulpevent.h
net/sctp/sm_statefuns.c
net/sctp/socket.c
net/sctp/ulpevent.c