From b5a33a25cb7b7e1c5b3e766cf210202c448e20d0 Mon Sep 17 00:00:00 2001 From: Alok Kumar Date: Mon, 7 May 2018 18:09:14 +0530 Subject: [PATCH] qcacld-3.0: Fix missing break statement issue in between switch cases Here the case is designed to fall through to the next case. So, add a /* fallthrough */ comment where the break is expected. Change-Id: Ide5b530c9b817a269fcee4ece679476930797ae7 CRs-Fixed: 2233186 --- core/hdd/src/wlan_hdd_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index d18b6d4e1b0c..cbe969dc0464 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -10654,12 +10654,16 @@ void hdd_dp_trace_init(struct hdd_config *config) switch (num_entries) { case 4: proto_bitmap = config_params[3]; + /* fall through */ case 3: verbosity = config_params[2]; + /* fall through */ case 2: thresh = config_params[1]; + /* fall through */ case 1: live_mode = config_params[0]; + /* fall through */ default: hdd_debug("live_mode %u thresh %u time_limit %u verbosity %u bitmap 0x%x", live_mode, thresh, thresh_time_limit,