diff --git a/drivers/gpu/drm/msm/samsung_lego/ss_dsi_panel_debug.c b/drivers/gpu/drm/msm/samsung_lego/ss_dsi_panel_debug.c index 2d123d4d175c..ee7ba21a343d 100755 --- a/drivers/gpu/drm/msm/samsung_lego/ss_dsi_panel_debug.c +++ b/drivers/gpu/drm/msm/samsung_lego/ss_dsi_panel_debug.c @@ -386,7 +386,7 @@ static const struct file_operations xlog_dump_ops = { }; #define SS_ONCE_LOG_BUF_MAX (1024) -static debug_display_read_once(struct samsung_display_driver_data *vdd, +static ssize_t debug_display_read_once(struct samsung_display_driver_data *vdd, char __user *buff, loff_t *ppos) { struct dsi_panel *panel = GET_DSI_PANEL(vdd); diff --git a/drivers/net/wireless/qualcomm/wcn39xx/qca-wifi-host-cmn/hif/src/ce/ce_service_legacy.c b/drivers/net/wireless/qualcomm/wcn39xx/qca-wifi-host-cmn/hif/src/ce/ce_service_legacy.c index 0997fccce51a..366069e97a25 100755 --- a/drivers/net/wireless/qualcomm/wcn39xx/qca-wifi-host-cmn/hif/src/ce/ce_service_legacy.c +++ b/drivers/net/wireless/qualcomm/wcn39xx/qca-wifi-host-cmn/hif/src/ce/ce_service_legacy.c @@ -1317,7 +1317,7 @@ struct ce_ops ce_service_legacy = { #endif }; -struct ce_ops *ce_services_legacy() +struct ce_ops *ce_services_legacy(void) { return &ce_service_legacy; } diff --git a/drivers/net/wireless/qualcomm/wcn39xx/qca-wifi-host-cmn/target_if/core/src/target_if_main.c b/drivers/net/wireless/qualcomm/wcn39xx/qca-wifi-host-cmn/target_if/core/src/target_if_main.c index a37f721f8726..c69a3cde9337 100755 --- a/drivers/net/wireless/qualcomm/wcn39xx/qca-wifi-host-cmn/target_if/core/src/target_if_main.c +++ b/drivers/net/wireless/qualcomm/wcn39xx/qca-wifi-host-cmn/target_if/core/src/target_if_main.c @@ -86,7 +86,7 @@ static struct target_if_ctx *g_target_if_ctx; -struct target_if_ctx *target_if_get_ctx() +struct target_if_ctx *target_if_get_ctx(void) { return g_target_if_ctx; } diff --git a/drivers/net/wireless/qualcomm/wcn39xx/qcacld-3.0/core/hdd/src/wlan_hdd_main.c b/drivers/net/wireless/qualcomm/wcn39xx/qcacld-3.0/core/hdd/src/wlan_hdd_main.c index e7e20be43df6..86ce16a1552e 100755 --- a/drivers/net/wireless/qualcomm/wcn39xx/qcacld-3.0/core/hdd/src/wlan_hdd_main.c +++ b/drivers/net/wireless/qualcomm/wcn39xx/qcacld-3.0/core/hdd/src/wlan_hdd_main.c @@ -16122,7 +16122,7 @@ static void hdd_driver_unload(void) } #if defined (SEC_CONFIG_PSM_SYSFS) -int wlan_hdd_sec_get_psm() +int wlan_hdd_sec_get_psm(void) { int psm = 0; diff --git a/drivers/net/wireless/qualcomm/wcn39xx/qcacld-3.0/core/mac/src/include/parser_api.h b/drivers/net/wireless/qualcomm/wcn39xx/qcacld-3.0/core/mac/src/include/parser_api.h index 32079b16a0c9..b8c72a116024 100755 --- a/drivers/net/wireless/qualcomm/wcn39xx/qcacld-3.0/core/mac/src/include/parser_api.h +++ b/drivers/net/wireless/qualcomm/wcn39xx/qcacld-3.0/core/mac/src/include/parser_api.h @@ -1025,7 +1025,7 @@ QDF_STATUS populate_dot11f_rrm_ie(struct mac_context *mac, struct pe_session *pe_session); void populate_mdie(struct mac_context *mac, tDot11fIEMobilityDomain *pDot11f, - uint8_t mdie[]); + uint8_t mdie[SIR_MDIE_SIZE]); #ifdef WLAN_FEATURE_FILS_SK /** diff --git a/drivers/samsung/quest/sec_quest_param.c b/drivers/samsung/quest/sec_quest_param.c index a67cac781e4e..ce939a76f08f 100755 --- a/drivers/samsung/quest/sec_quest_param.c +++ b/drivers/samsung/quest/sec_quest_param.c @@ -106,7 +106,7 @@ void print_result_with_item_string(uint64_t item_result, char** str_array) } -void quest_print_param_quest_data() +void quest_print_param_quest_data(void) { QUEST_PRINT("======================\n"); @@ -184,7 +184,7 @@ void quest_print_param_quest_data() QUEST_PRINT("======================\n"); } -void quest_load_param_quest_data() +void quest_load_param_quest_data(void) { if (!sec_get_param(param_index_quest, ¶m_quest_data)) QUEST_PRINT("%s : failed\n", __func__); @@ -192,7 +192,7 @@ void quest_load_param_quest_data() QUEST_PRINT("%s : succeeded\n", __func__); } -void quest_sync_param_quest_data() +void quest_sync_param_quest_data(void) { if (!sec_set_param(param_index_quest, ¶m_quest_data)) QUEST_PRINT("%s : failed\n", __func__); @@ -226,7 +226,7 @@ void quest_sync_param_quest_ddr_result_data(void) #define DDR_SCAN_CNT 0 #endif -void quest_clear_param_quest_data() +void quest_clear_param_quest_data(void) { param_quest_data.smd_item_result = 0; param_quest_data.smd_subitem_result = 0; @@ -291,7 +291,7 @@ void quest_clear_param_quest_data() quest_sync_param_quest_ddr_result_data(); } -void quest_initialize_curr_step() +void quest_initialize_curr_step(void) { param_quest_data.curr_step = STEP_NONE; param_quest_data.hlos_remained_count = 0; @@ -305,7 +305,7 @@ void quest_initialize_curr_step() } -void quest_load_param_api_gpio_test() +void quest_load_param_api_gpio_test(void) { if (!sec_get_param(param_index_api_gpio_test, ¶m_api_gpio_test)) QUEST_PRINT("%s : failed\n", __func__); @@ -313,7 +313,7 @@ void quest_load_param_api_gpio_test() QUEST_PRINT("%s : succeeded\n", __func__); } -void quest_sync_param_api_gpio_test() +void quest_sync_param_api_gpio_test(void) { if (!sec_set_param(param_index_api_gpio_test, ¶m_api_gpio_test)) QUEST_PRINT("%s : failed\n", __func__); @@ -321,7 +321,7 @@ void quest_sync_param_api_gpio_test() QUEST_PRINT("%s : succeeded\n", __func__); } -void quest_load_param_api_gpio_test_result() +void quest_load_param_api_gpio_test_result(void) { if (!sec_get_param(param_index_api_gpio_test_result, param_api_gpio_test_result)) QUEST_PRINT("%s : failed\n", __func__); @@ -329,7 +329,7 @@ void quest_load_param_api_gpio_test_result() QUEST_PRINT("%s : succeeded\n", __func__); } -void quest_sync_param_api_gpio_test_result() +void quest_sync_param_api_gpio_test_result(void) { if (!sec_set_param(param_index_api_gpio_test_result, param_api_gpio_test_result)) QUEST_PRINT("%s : failed\n", __func__); diff --git a/drivers/soc/qcom/memshare/msm_memshare.c b/drivers/soc/qcom/memshare/msm_memshare.c index 41142ad022ff..2cab791c1b79 100755 --- a/drivers/soc/qcom/memshare/msm_memshare.c +++ b/drivers/soc/qcom/memshare/msm_memshare.c @@ -49,7 +49,7 @@ static void *memshare_ramdump_dev[MAX_CLIENTS]; static struct device *memshare_dev[MAX_CLIENTS]; #ifdef CONFIG_CP_DYNAMIC_MEM_RESERVE -extern sec_reserved_mem(void); +extern unsigned int sec_reserved_mem(void); #define RESERVE_MEM_LEVEL1_MASK (1u << 2) #define RESERVE_MEM_LEVEL2_MASK (1u << 3) #endif