Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2018 18:09:24 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r327839 - head/sys/opencrypto
Message-ID:  <201801111809.w0BI9OI0053850@repo.freebsd.org>

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



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