]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:38:37 +0000 (12:38 -0600)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Dec 2020 11:51:33 +0000 (12:51 +0100)
commit3f7aee1e9554c27a68871fe6c5818c6d5fab7089
tree1c413d1165f7162006c5a5dc093e922c491965c8
parent483ea4aee7bc552c7ddab0dee875df39cdc1428c
nl80211: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of letting the code fall
through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/fe5afd456a1244751177e53359d3dd149a63a873.1605896060.git.gustavoars@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c