18 Jan
2018
18 Jan
'18
9:31 p.m.
Explicitly comment that the fall through in a switch case is not a typo to make Coverity warnings go away.
Signed-off-by: Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com --- src/audio/dai.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/audio/dai.c b/src/audio/dai.c index b7ad1b4..1112ec9 100644 --- a/src/audio/dai.c +++ b/src/audio/dai.c @@ -559,6 +559,7 @@ static int dai_cmd(struct comp_dev *dev, int cmd, void *data) break; case COMP_CMD_XRUN: dd->xrun = 1; + /* fall through */ case COMP_CMD_PAUSE: case COMP_CMD_STOP: wait_init(&dd->complete);
--
2.14.1