svn commit: r346867 - stable/11/sys/dev/cxgbe/cxgbei

Navdeep Parhar np at FreeBSD.org
Mon Apr 29 01:23:00 UTC 2019


Author: np
Date: Mon Apr 29 01:22:58 2019
New Revision: 346867
URL: https://svnweb.freebsd.org/changeset/base/346867

Log:
  MFC r335701:
  
  cxgbe/cxgbei: Fix harmful typo in the iSCSI offload driver.
  
  Reported by:	gcc8 (via mmacy@)
  Sponsored by:	Chelsio Communications

Modified:
  stable/11/sys/dev/cxgbe/cxgbei/cxgbei.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/cxgbe/cxgbei/cxgbei.c
==============================================================================
--- stable/11/sys/dev/cxgbe/cxgbei/cxgbei.c	Mon Apr 29 01:15:22 2019	(r346866)
+++ stable/11/sys/dev/cxgbe/cxgbei/cxgbei.c	Mon Apr 29 01:22:58 2019	(r346867)
@@ -969,7 +969,7 @@ start_worker_threads(void)
 			    i + 1, worker_thread_count, rc);
 			mtx_destroy(&cwt->cwt_lock);
 			cv_destroy(&cwt->cwt_cv);
-			bzero(&cwt, sizeof(*cwt));
+			bzero(cwt, sizeof(*cwt));
 			if (i == 0) {
 				free(cwt_softc, M_CXGBE);
 				worker_thread_count = 0;


More information about the svn-src-stable-11 mailing list