/dgrp: Fixed warning by adding fallthrough comment
authorAndreea-Cristina Bernat <bernat.ada@gmail.com>
Mon, 10 Mar 2014 18:25:31 +0000 (20:25 +0200)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Tue, 11 Mar 2014 06:36:00 +0000 (23:36 -0700)
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>
drivers/staging/dgrp/dgrp_tty.c

index 7a9694c1d9c4f6fd9546b3fa340c14d56f1b6e33..9dba943cdbe626827cf9bdc8184756d80e8350b8 100644 (file)
@@ -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);