summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2024-11-06 11:48:49 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2024-11-06 11:50:19 +0900
commit8aa7d996251febb25c603501a3df9ab89a63eb68 (patch)
treed85b07803888c4f7b112a16a0fff1b15999bc968
parent5ab1322a06bf1ceb43c8247d850c91d00cad1d3d (diff)
downloadlinux-thead-8aa7d996251febb25c603501a3df9ab89a63eb68.tar.gz
linux-thead-8aa7d996251febb25c603501a3df9ab89a63eb68.tar.bz2
linux-thead-8aa7d996251febb25c603501a3df9ab89a63eb68.zip
soc: thead: Fix enum-conversion warning
Fix wrong enum type for light_event_msg_hdr_fill(). Change-Id: I3a3021f2862e31b0721f22f4f497025f1cb0765b Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r--drivers/net/wireless/rtl8723ds/core/rtw_mlme_ext.c1
-rw-r--r--drivers/soc/thead/light_event.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtl8723ds/core/rtw_mlme_ext.c b/drivers/net/wireless/rtl8723ds/core/rtw_mlme_ext.c
index f418106da962..bc228ecc9a3f 100644
--- a/drivers/net/wireless/rtl8723ds/core/rtw_mlme_ext.c
+++ b/drivers/net/wireless/rtl8723ds/core/rtw_mlme_ext.c
@@ -1698,6 +1698,7 @@ void mgt_dispatcher(_adapter *padapter, union recv_frame *precv_frame)
ptable->func = &OnAuthClient;
/* fall through */
case WIFI_ASSOCREQ:
+ /* fall through */
case WIFI_REASSOCREQ:
_mgt_dispatcher(padapter, ptable, precv_frame);
#ifdef CONFIG_HOSTAPD_MLME
diff --git a/drivers/soc/thead/light_event.c b/drivers/soc/thead/light_event.c
index c901aa7c8263..def4f7dcfd0e 100644
--- a/drivers/soc/thead/light_event.c
+++ b/drivers/soc/thead/light_event.c
@@ -50,7 +50,7 @@ struct light_event {
struct light_event *light_event;
-static void light_event_msg_hdr_fill(struct light_aon_rpc_msg_hdr *hdr, enum light_aon_misc_func func)
+static void light_event_msg_hdr_fill(struct light_aon_rpc_msg_hdr *hdr, enum light_aon_sys_func func)
{
hdr->svc = (uint8_t)LIGHT_AON_RPC_SVC_SYS;
hdr->func = (uint8_t)func;