From: Andreea-Cristina Bernat Date: Mon, 10 Mar 2014 18:25:31 +0000 (+0200) Subject: /dgrp: Fixed warning by adding fallthrough comment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7ed5f4510110cfc8787db7f1a7d4970e28d29eb2;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git /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 Signed-off-by: Peter P Waskiewicz Jr --- 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);