qcacld-3.0: pmo: Replace fallthrough comment withattribute

-Wimplicit-fallthrough is being enabled by default. Some compilers
such as clang require the attribute instead of just a fallthrough comment.

Change-Id: If55d68cb76589b39b88d859ea4d9fa6e10246c7e
CRs-Fixed: 3217399
This commit is contained in:
David Oladunjoye
2022-06-09 11:56:06 -07:00
committed by Madan Koyyalamudi
부모 75c1d7c753
커밋 5f4f7cf521
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제

파일 보기

@@ -64,7 +64,7 @@ void pmo_register_wow_wakeup_events(struct wlan_objmgr_vdev *vdev)
event_bitmap);
}
/* fallthrough */
fallthrough;
case QDF_P2P_DEVICE_MODE:
case QDF_OCB_MODE:
case QDF_MONITOR_MODE:

파일 보기

@@ -762,7 +762,7 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc,
pmo_err("Invalid interface pause setting: %d",
wow_params->interface_pause);
/* intentional to default */
/* fallthrough */
fallthrough;
case PMO_WOW_INTERFACE_PAUSE_DEFAULT:
param.can_suspend_link =
htc_can_suspend_link(
@@ -780,7 +780,7 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc,
default:
pmo_err("Invalid resume trigger setting: %d",
wow_params->resume_trigger);
/* intentional fall-through to default */
fallthrough;
case PMO_WOW_RESUME_TRIGGER_DEFAULT:
case PMO_WOW_RESUME_TRIGGER_GPIO:
/*