diff options
author | Toomas Soome <tsoome@me.com> | 2019-12-31 10:42:40 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2020-08-04 18:26:16 +0300 |
commit | 001481f6cda9064930e4caee83ed1a8f0c801b8b (patch) | |
tree | 714b44e4296ffd989702b6ae9d8e71c04655f51d | |
parent | 425a83377a83720d1e9907ec3641a499a5eed18f (diff) | |
download | illumos-joyent-001481f6cda9064930e4caee83ed1a8f0c801b8b.tar.gz |
12405 audioens: variable may be used uninitialized
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Reviewed by: Rob Johnston <rob.johnston@joyent.com>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/uts/common/io/audio/drv/audioens/audioens.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/common/io/audio/drv/audioens/audioens.c b/usr/src/uts/common/io/audio/drv/audioens/audioens.c index fa22a0d2cb..38fb9b7d56 100644 --- a/usr/src/uts/common/io/audio/drv/audioens/audioens.c +++ b/usr/src/uts/common/io/audio/drv/audioens/audioens.c @@ -685,6 +685,8 @@ audioens_count(void *arg) page = CONC_ADCCTL_PAGE; offs = CONC_wADCFC_OFF; break; + default: + panic("Unknown port number: %d\n", port->num); } mutex_enter(&dev->mutex); |