ubi: Mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Fri, 5 Oct 2018 08:29:31 +0000 (10:29 +0200)
committerRichard Weinberger <richard@nod.at>
Tue, 23 Oct 2018 11:46:48 +0000 (13:46 +0200)
commit7e5583fd77194b45eef04835576a4fe7f3f235c8
treeb80c06f3c072d92f6a1baff36b31ba99e25a901e
parent84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d
ubi: Mark expected switch fall-throughs

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Addresses-Coverity-ID: 1373884 ("Missing break in switch")
Addresses-Coverity-ID: 114869 ("Missing break in switch")
Addresses-Coverity-ID: 114870 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/attach.c
drivers/mtd/ubi/build.c