summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreea-Cristina Bernat <bernat.ada@gmail.com>2014-03-10 20:25:31 +0200
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>2014-03-10 23:36:00 -0700
commit7ed5f4510110cfc8787db7f1a7d4970e28d29eb2 (patch)
treee2182ceb613ee1ce52b9ff5e17553e6d246720d0
parente2665c2cbf0650b171d9ce8b9001cd84b06b6c57 (diff)
downloadlinux-7ed5f4510110cfc8787db7f1a7d4970e28d29eb2.tar.bz2
/dgrp: Fixed warning by adding fallthrough comment
This patch solves the warning "possible switch case/default not preceded by break or fallthrough comment" for the file /drivers/staging/dgrp/dgrp_tty.c Signed-off-by: Andreea-Cristina Bernat <bernat.ada@gmail.com> Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
-rw-r--r--drivers/staging/dgrp/dgrp_tty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/dgrp/dgrp_tty.c b/drivers/staging/dgrp/dgrp_tty.c
index 7a9694c1d9c4..9dba943cdbe6 100644
--- a/drivers/staging/dgrp/dgrp_tty.c
+++ b/drivers/staging/dgrp/dgrp_tty.c
@@ -2798,6 +2798,7 @@ static int dgrp_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
}
/* pretend we didn't recognize this */
+ /* fall-through */
case DIGI_SETA:
return dgrp_tty_digiseta(tty, (struct digi_struct *) arg);