Fix build with clang-17

Signed-off-by: Jens Lody <jens@jenslody.de>
tirimbino
Jens Lody 2 years ago
parent 4ebbd19a14
commit 7afc92b0d2
  1. 2
      drivers/gpu/drm/msm/samsung_lego/ss_dsi_panel_debug.c
  2. 2
      drivers/net/wireless/qualcomm/wcn39xx/qca-wifi-host-cmn/hif/src/ce/ce_service_legacy.c
  3. 2
      drivers/net/wireless/qualcomm/wcn39xx/qca-wifi-host-cmn/target_if/core/src/target_if_main.c
  4. 2
      drivers/net/wireless/qualcomm/wcn39xx/qcacld-3.0/core/hdd/src/wlan_hdd_main.c
  5. 2
      drivers/net/wireless/qualcomm/wcn39xx/qcacld-3.0/core/mac/src/include/parser_api.h
  6. 18
      drivers/samsung/quest/sec_quest_param.c
  7. 2
      drivers/soc/qcom/memshare/msm_memshare.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);

@ -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;
}

@ -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;
}

@ -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;

@ -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
/**

@ -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, &param_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, &param_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, &param_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, &param_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__);

@ -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

Loading…
Cancel
Save