svn commit: r345030 - stable/11/sys/opencrypto

John Baldwin jhb at FreeBSD.org
Mon Mar 11 21:51:16 UTC 2019


Author: jhb
Date: Mon Mar 11 21:51:15 2019
New Revision: 345030
URL: https://svnweb.freebsd.org/changeset/base/345030

Log:
  MFC 327839: 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.
  
  Sponsored by:	Chelsio Communications

Modified:
  stable/11/sys/opencrypto/cryptodev.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/opencrypto/cryptodev.h
==============================================================================
--- stable/11/sys/opencrypto/cryptodev.h	Mon Mar 11 21:49:44 2019	(r345029)
+++ stable/11/sys/opencrypto/cryptodev.h	Mon Mar 11 21:51:15 2019	(r345030)
@@ -422,7 +422,7 @@ struct cryptop {
 #define	CRYPTO_F_CBIFSYNC	0x0040	/* Do CBIMM if op is synchronous */
 
 	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-stable mailing list