diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-02-11 16:14:13 -0600 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@collabora.com> | 2019-02-28 09:47:53 +0100 |
commit | 988bb4a1937bd083267444dda21b901dc6a959b3 (patch) | |
tree | c39a4f0dc472c1f32a291b3f29a6fbbbffdf7aad /drivers/block/rsxx | |
parent | 65907c5d1ed1dbc03b3b4f2a438101a7b7064389 (diff) | |
download | linux-988bb4a1937bd083267444dda21b901dc6a959b3.tar.bz2 |
i3c: master: dw-i3c-master: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch
cases where we are expecting to fall through.
This patch fixes the following warning:
drivers/i3c/master/dw-i3c-master.c: In function ‘dw_i3c_master_bus_init’:
drivers/i3c/master/dw-i3c-master.c:603:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (ret)
^
drivers/i3c/master/dw-i3c-master.c:605:2: note: here
case I3C_BUS_MODE_PURE:
^~~~
Warning level 3 was used: -Wimplicit-fallthrough=3
This patch is part of the ongoing efforts to enable
-Wimplicit-fallthrough.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Vitor Soares <vitor.soares@synopsys.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Diffstat (limited to 'drivers/block/rsxx')
0 files changed, 0 insertions, 0 deletions