diff options
author | Toomas Soome <tsoome@me.com> | 2019-12-31 23:13:25 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2020-04-01 18:01:16 +0300 |
commit | f70049b72ff8162093254e3d617172d6df9705f1 (patch) | |
tree | 26bc09d9fee7b30d6ad91ed3f46c169f7e02e148 | |
parent | 5338faaac2dc1b2a16cb1a986233578834926ce0 (diff) | |
download | illumos-joyent-f70049b72ff8162093254e3d617172d6df9705f1.tar.gz |
12415 ecpp: variable may be used uninitialized
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/uts/common/io/ecpp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/common/io/ecpp.c b/usr/src/uts/common/io/ecpp.c index 2bbe70798f..a999ea7d91 100644 --- a/usr/src/uts/common/io/ecpp.c +++ b/usr/src/uts/common/io/ecpp.c @@ -3052,6 +3052,8 @@ ecpp_isr(caddr_t arg) int retval = DDI_INTR_UNCLAIMED; hrtime_t now; + dsr = 0; + dcsr = 0; mutex_enter(&pp->umutex); /* * interrupt may occur while other thread is holding the lock |