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; _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"