Skip to content

Commit

Permalink
12405 audioens: variable may be used uninitialized
Browse files Browse the repository at this point in the history
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Reviewed by: Rob Johnston <rob.johnston@joyent.com>
Approved by: Dan McDonald <danmcd@joyent.com>
  • Loading branch information
tsoome committed Aug 4, 2020
1 parent 425a833 commit 001481f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions usr/src/uts/common/io/audio/drv/audioens/audioens.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 001481f

Please sign in to comment.