]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
pcmcia: db1xxx_ss: Fix fall-through warning for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Mon, 13 Sep 2021 22:22:01 +0000 (17:22 -0500)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Wed, 13 Oct 2021 19:47:48 +0000 (14:47 -0500)
commit02900f428d3c7acd89b77784bec33ddec7b750a4
tree08736c4f2650f1f84e7976c1ef1d082ad208cf35
parent25d7b70e0202321ed284c51788764fd978bed415
pcmcia: db1xxx_ss: Fix fall-through warning for Clang

Fix the following fallthrough warning:

drivers/pcmcia/db1xxx_ss.c:359:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
           case 3:
           ^
   drivers/pcmcia/db1xxx_ss.c:359:2: note: insert 'break;' to avoid fall-through
           case 3:
           ^
           break;

This helps with the ongoing efforts to globally enable
-Wimplicit-fallthrough for Clang.

Link: https://github.com/KSPP/linux/issues/115
Link: https://lore.kernel.org/linux-mm/202109030839.t2llsvmc-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
drivers/pcmcia/db1xxx_ss.c