Vlad Yasevich b68dbcab1d [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>
2006-12-02 21:21:47 -08:00
..
2006-09-28 18:02:48 -07:00
2006-12-02 21:21:47 -08:00
2006-12-02 21:21:08 -08:00
2006-09-22 14:54:40 -07:00
2006-12-02 21:21:19 -08:00
2006-09-28 18:02:58 -07:00
2006-09-28 18:01:06 -07:00
2006-12-02 21:21:20 -08:00
2006-10-18 19:55:25 -07:00
2006-09-28 18:02:09 -07:00
2006-12-02 21:21:21 -08:00
2006-11-05 14:11:25 -08:00
2006-12-02 21:21:23 -08:00
2006-10-15 11:00:58 -07:00
2006-09-28 18:02:10 -07:00
2006-12-02 21:21:36 -08:00