qcacld-3.0: dp: Replace fallthrough comment with attribute
-Wimplicit-fallthrough is being enabled by default. Some compilers such as clang require the attribute instead of just a fallthrough comment. Change-Id: I6d12321a649b61b35f9abf4fb977d368fc8a6e4e CRs-Fixed: 3217402
这个提交包含在:
@@ -313,16 +313,16 @@ void dp_trace_init(struct wlan_objmgr_psoc *psoc)
|
||||
switch (num_entries) {
|
||||
case 4:
|
||||
proto_bitmap = config_params[3];
|
||||
/* fallthrough */
|
||||
fallthrough;
|
||||
case 3:
|
||||
verbosity = config_params[2];
|
||||
/* fallthrough */
|
||||
fallthrough;
|
||||
case 2:
|
||||
thresh = config_params[1];
|
||||
/* fallthrough */
|
||||
fallthrough;
|
||||
case 1:
|
||||
live_mode = config_params[0];
|
||||
/* fallthrough */
|
||||
fallthrough;
|
||||
default:
|
||||
dp_debug("live_mode %u thresh %u time_limit %u verbosity %u bitmap 0x%x",
|
||||
live_mode, thresh, thresh_time_limit,
|
||||
|
@@ -330,7 +330,7 @@ int dp_softap_inspect_dhcp_packet(struct wlan_dp_intf *dp_intf,
|
||||
sta_info->sta_mac.bytes,
|
||||
true);
|
||||
sta_info->dhcp_nego_status = DHCP_NEGO_IN_PROGRESS;
|
||||
/* fallthrough */
|
||||
fallthrough;
|
||||
case QDF_PROTO_DHCP_DECLINE:
|
||||
if (dir == QDF_RX)
|
||||
sta_info->dhcp_phase = DHCP_PHASE_REQUEST;
|
||||
|
在新工单中引用
屏蔽一个用户