Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2018 14:29:13 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335701 - head/sys/dev/cxgbe/cxgbei
Message-ID:  <201806271429.w5RETDG1094479@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Wed Jun 27 14:29:13 2018
New Revision: 335701
URL: https://svnweb.freebsd.org/changeset/base/335701

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

Modified:
  head/sys/dev/cxgbe/cxgbei/cxgbei.c

Modified: head/sys/dev/cxgbe/cxgbei/cxgbei.c
==============================================================================
--- head/sys/dev/cxgbe/cxgbei/cxgbei.c	Wed Jun 27 12:08:12 2018	(r335700)
+++ head/sys/dev/cxgbe/cxgbei/cxgbei.c	Wed Jun 27 14:29:13 2018	(r335701)
@@ -670,7 +670,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?201806271429.w5RETDG1094479>