Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2020 04:42:46 +0000 (UTC)
From:      Conrad Meyer <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r357245 - head/sys/dev/qlxge
Message-ID:  <202001290442.00T4gkKj093293@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cem
Date: Wed Jan 29 04:42:46 2020
New Revision: 357245
URL: https://svnweb.freebsd.org/changeset/base/357245

Log:
  qlxge(4): Ditto r357244
  
  Reported by:	Coverity
  CID:		1193716

Modified:
  head/sys/dev/qlxge/qls_os.c

Modified: head/sys/dev/qlxge/qls_os.c
==============================================================================
--- head/sys/dev/qlxge/qls_os.c	Wed Jan 29 04:41:26 2020	(r357244)
+++ head/sys/dev/qlxge/qls_os.c	Wed Jan 29 04:42:46 2020	(r357245)
@@ -321,7 +321,7 @@ qls_watchdog(void *arg)
 		ha->qla_watchdog_paused = 1;
 	}
 
-	ha->watchdog_ticks = ha->watchdog_ticks++ % 1000;
+	ha->watchdog_ticks = (ha->watchdog_ticks + 1) % 1000;
 	callout_reset(&ha->tx_callout, QLA_WATCHDOG_CALLOUT_TICKS,
 		qls_watchdog, ha);
 



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