changeset 21107:98da73ba4dd9

10720 iser: NULL pointer errors Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
author Toomas Soome <tsoome@me.com>
date Sat, 19 Jan 2019 17:54:00 +0200
parents 8deb076987f0
children f540c133713a
files usr/src/uts/common/io/ib/clients/iser/iser_cm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/io/ib/clients/iser/iser_cm.c	Sat Jan 19 17:27:27 2019 +0200
+++ b/usr/src/uts/common/io/ib/clients/iser/iser_cm.c	Sat Jan 19 17:54:00 2019 +0200
@@ -283,7 +283,7 @@
 		 * Kick the state machine.  At CS_S3_XPT_UP the state machine
 		 * will notify the client (target) about the new connection.
 		 */
-		idm_conn_event(ic, CE_CONNECT_ACCEPT, NULL);
+		idm_conn_event(ic, CE_CONNECT_ACCEPT, (uintptr_t)NULL);
 		iser_conn->ic_stage = ISER_CONN_STAGE_IC_CONNECTED;
 		mutex_exit(&iser_conn->ic_lock);