svn commit: r335701 - head/sys/dev/cxgbe/cxgbei
Navdeep Parhar
np at FreeBSD.org
Wed Jun 27 14:29:14 UTC 2018
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;
More information about the svn-src-head
mailing list