Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2019 21:51:15 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r345030 - stable/11/sys/opencrypto
Message-ID:  <201903112151.x2BLpFsj045433@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903112151.x2BLpFsj045433>