Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48e5772a authored by KakatkarAkshay's avatar KakatkarAkshay Committed by MajorP93
Browse files

drivers: soc: Fix section mismatches

WARNING: vmlinux.o(.text+0x5d3528): Section mismatch in reference from the function update_manifest() to the variable .init.data:boot_command_line
The function update_manifest() references
the variable __initdata boot_command_line.
This is often because update_manifest lacks a __initdata
annotation or the annotation of boot_command_line is wrong.

WARNING: vmlinux.o(.text+0x5d3530): Section mismatch in reference from the function update_manifest() to the variable .init.data:boot_command_line
The function update_manifest() references
the variable __initdata boot_command_line.
This is often because update_manifest lacks a __initdata
annotation or the annotation of boot_command_line is wrong.

WARNING: vmlinux.o(.text+0x5d35ec): Section mismatch in reference from the function update_telephony_manifest() to the variable .init.data:boot_command_line
The function update_telephony_manifest() references
the variable __initdata boot_command_line.
This is often because update_telephony_manifest lacks a __initdata
annotation or the annotation of boot_command_line is wrong.

WARNING: vmlinux.o(.text+0x5d35f4): Section mismatch in reference from the function update_telephony_manifest() to the variable .init.data:boot_command_line
The function update_telephony_manifest() references
the variable __initdata boot_command_line.
This is often because update_telephony_manifest lacks a __initdata
annotation or the annotation of boot_command_line is wrong.

WARNING: vmlinux.o(.text+0x5d36ac): Section mismatch in reference from the function update_felica_cfg() to the variable .init.data:boot_command_line
The function update_felica_cfg() references
the variable __initdata boot_command_line.
This is often because update_felica_cfg lacks a __initdata
annotation or the annotation of boot_command_line is wrong.

WARNING: vmlinux.o(.text+0x5d36b4): Section mismatch in reference from the function update_felica_cfg() to the variable .init.data:boot_command_line
The function update_felica_cfg() references
the variable __initdata boot_command_line.
This is often because update_felica_cfg lacks a __initdata
annotation or the annotation of boot_command_line is wrong.

WARNING: vmlinux.o(.text+0x5e0d38): Section mismatch in reference from the function bootloader_log_probe() to the function .init.text:of_bootloader_log_platform_data()
The function bootloader_log_probe() references
the function __init of_bootloader_log_platform_data().
This is often because bootloader_log_probe lacks a __init
annotation or the annotation of of_bootloader_log_platform_data is wrong.
parent ad7ba06e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ static int proc_bootloader_log_init(void)
}


static int __init of_bootloader_log_platform_data(struct device_node *node,
static int of_bootloader_log_platform_data(struct device_node *node,
	struct bootloader_log_platform_data *pdata)
{
	const u32 *addr;
+2 −2
Original line number Diff line number Diff line
@@ -432,7 +432,7 @@ static void dump_secure_stage(struct seq_file *s)
    seq_printf(s, "%d", secure_oem_config);
}

static void update_manifest(struct proc_dir_entry *parent_1, struct proc_dir_entry *parent_2)
static void __initdata update_manifest(struct proc_dir_entry *parent_1, struct proc_dir_entry *parent_2)
{
    static const char* manifest_src[2] = {
        "/vendor/odm/etc/vintf/manifest_ssss.xml",
@@ -464,7 +464,7 @@ static void update_manifest(struct proc_dir_entry *parent_1, struct proc_dir_ent
    set_fs(fs);
}

static void update_telephony_manifest(struct proc_dir_entry *parent_1, struct proc_dir_entry *parent_2)
static void __initdata update_telephony_manifest(struct proc_dir_entry *parent_1, struct proc_dir_entry *parent_2)
{
    static const char* manifest_src[2] = {
        "/vendor/odm/etc/vintf/telephony_manifest_ssss.xml",
+1 −1
Original line number Diff line number Diff line
@@ -523,7 +523,7 @@ static void dump_secure_stage(struct seq_file *s)
    seq_printf(s, "%d", secure_oem_config);
}

static void update_manifest(struct proc_dir_entry *parent)
static void __initdata update_manifest(struct proc_dir_entry *parent)
{
    static const char* manifest_src[2] = {
        "/vendor/odm/etc/vintf/manifest_ssss.xml",
+3 −3
Original line number Diff line number Diff line
@@ -436,7 +436,7 @@ static void dump_secure_stage(struct seq_file *s)
}

//#ifdef OPLUS_FEATURE_NFC_FELICA
static void update_felica_cfg(struct proc_dir_entry *parent) {
static void __initdata update_felica_cfg(struct proc_dir_entry *parent) {

    static const char* simfree_cfg_src[3] = {
        "/odm/etc/felica_cfg/simfree/common.cfg",
@@ -474,7 +474,7 @@ static void update_felica_cfg(struct proc_dir_entry *parent) {
}
//#endif /*OPLUS_FEATURE_NFC_FELICA*/

static void update_manifest(struct proc_dir_entry *parent)
static void __initdata update_manifest(struct proc_dir_entry *parent)
{
    static const char* manifest_src[2] = {
        "/vendor/odm/etc/vintf/manifest_ssss.xml",
@@ -503,7 +503,7 @@ static void update_manifest(struct proc_dir_entry *parent)
    set_fs(fs);
}

static void update_telephony_manifest(struct proc_dir_entry *parent)
static void __initdata update_telephony_manifest(struct proc_dir_entry *parent)
{
    static const char* manifest_src[2] = {
        "/vendor/odm/etc/vintf/telephony_manifest_ssss.xml",