Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2019 01:22:59 +0000 (UTC)
From:      Navdeep Parhar <np@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: r346867 - stable/11/sys/dev/cxgbe/cxgbei
Message-ID:  <201904290122.x3T1Mxv3002907@repo.freebsd.org>

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



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