svn commit: r327839 - head/sys/opencrypto
John Baldwin
jhb at FreeBSD.org
Thu Jan 11 18:09:25 UTC 2018
Author: jhb
Date: Thu Jan 11 18:09:24 2018
New Revision: 327839
URL: https://svnweb.freebsd.org/changeset/base/327839
Log:
Change the type of 'crp_opaque' from caddr_t to void *.
Opaque pointers should be void *. Note that this does not go through
the tree removing all of the now-unnecessary casts.
Reviewed by: kib
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D13848
Modified:
head/sys/opencrypto/cryptodev.h
Modified: head/sys/opencrypto/cryptodev.h
==============================================================================
--- head/sys/opencrypto/cryptodev.h Thu Jan 11 18:07:21 2018 (r327838)
+++ head/sys/opencrypto/cryptodev.h Thu Jan 11 18:09:24 2018 (r327839)
@@ -426,7 +426,7 @@ struct cryptop {
*/
caddr_t crp_buf; /* Data to be processed */
- caddr_t crp_opaque; /* Opaque pointer, passed along */
+ void * crp_opaque; /* Opaque pointer, passed along */
struct cryptodesc *crp_desc; /* Linked list of processing descriptors */
int (*crp_callback)(struct cryptop *); /* Callback function */
More information about the svn-src-head
mailing list