From 2010ba5fe51e54a3c8d3419cb03a2f5daa8b77f6 Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 11 Jan 2018 18:09:24 +0000 Subject: [PATCH] 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 --- sys/opencrypto/cryptodev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/opencrypto/cryptodev.h b/sys/opencrypto/cryptodev.h index cfbda0684ee..0bdb5769367 100644 --- a/sys/opencrypto/cryptodev.h +++ b/sys/opencrypto/cryptodev.h @@ -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 */ -- 2.45.0