]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
spi: slave: Fix missing break in switch
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 3 Oct 2018 12:33:28 +0000 (14:33 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 3 Oct 2018 15:23:10 +0000 (16:23 +0100)
commitc24bfa8f21b59283580043dada19a6e943b6e426
tree54b58a1514f00c6fd9d267e22caef566be2cb168
parentaeb8a43fa2649e00202960a55cbbd184bfc296d6
spi: slave: Fix missing break in switch

Apparently, this code does not actually fall through to the next case
because the machine restarts before it has a chance. However, for the
sake of maintenance and readability, we better add the missing break
statement.

Addresses-Coverity-ID: 1437892 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-slave-system-control.c