summaryrefslogtreecommitdiffstats
path: root/CREDITS
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2006-11-10 01:29:57 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 06:21:47 +0100
commitb68dbcab1dc70938fa5516d0ee82c0bf94e9a768 (patch)
treeef2a69ae0d717be2d62c89c1d5fb144c170ebc29 /CREDITS
parent[IPV6] tcp: Fix typo _read_mostly --> __read_mostly. (diff)
downloadlinux-b68dbcab1dc70938fa5516d0ee82c0bf94e9a768.tar.xz
linux-b68dbcab1dc70938fa5516d0ee82c0bf94e9a768.zip
[SCTP]: Fix warning
An alternate solution would be to make the digest a pointer, allocate it in sctp_endpoint_init() and free it in sctp_endpoint_destroy(). I guess I should have originally done it this way... CC [M] net/sctp/sm_make_chunk.o net/sctp/sm_make_chunk.c: In function 'sctp_unpack_cookie': net/sctp/sm_make_chunk.c:1358: warning: initialization discards qualifiers from pointer target type The reason is that sctp_unpack_cookie() takes a const struct sctp_endpoint and modifies the digest in it (digest being embedded in the struct, not a pointer). Make digest a pointer to fix this warning. Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com> Acked-by: Sridhar Samudrala <sri@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions