hw/net/can: Add missing fallthrough statements
commitbd7b4e1fe67561fb8b67c0617b7ea4febd1297a0
authorThomas Huth <thuth@redhat.com>
Tue, 30 Jun 2020 07:55:20 +0000 (30 09:55 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 1 Sep 2020 06:42:27 +0000 (1 08:42 +0200)
treeb7b6f3e51fd1452fc03202f9f6a11ff953a342a7
parent8ff1e46eaac793112af0356f979e075566e34534
hw/net/can: Add missing fallthrough statements

Add fallthrough annotations to be able to compile the code without
warnings when using -Wimplicit-fallthrough in our CFLAGS. Looking
at the code, it seems like the fallthrough is indeed intended here,
so the comments should be appropriate.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Message-Id: <20200630075520.29825-1-thuth@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/net/can/can_sja1000.c