mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
libfdt: Remove extra semi-colons outside functions
When compiling with -Werror -Wpedantic, both GCC and Clang fails, saying that these semi-colons are redundant, so remove them. Signed-off-by: Bingwu Zhang <xtexchooser@duck.com> Message-ID: <20241116101228.164707-6-xtex@envs.net> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
2d10aa2afe
commit
b75515af45
2 changed files with 11 additions and 11 deletions
|
@ -351,7 +351,7 @@ static int overlay_fixup_one_phandle(void *fdt, void *fdto,
|
||||||
name, name_len, poffset,
|
name, name_len, poffset,
|
||||||
&phandle_prop,
|
&phandle_prop,
|
||||||
sizeof(phandle_prop));
|
sizeof(phandle_prop));
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* overlay_fixup_phandle - Set an overlay phandle to the base one
|
* overlay_fixup_phandle - Set an overlay phandle to the base one
|
||||||
|
|
|
@ -263,16 +263,16 @@ int fdt_next_subnode(const void *fdt, int offset);
|
||||||
struct fdt_header *fdth = (struct fdt_header *)fdt; \
|
struct fdt_header *fdth = (struct fdt_header *)fdt; \
|
||||||
fdth->name = cpu_to_fdt32(val); \
|
fdth->name = cpu_to_fdt32(val); \
|
||||||
}
|
}
|
||||||
fdt_set_hdr_(magic);
|
fdt_set_hdr_(magic)
|
||||||
fdt_set_hdr_(totalsize);
|
fdt_set_hdr_(totalsize)
|
||||||
fdt_set_hdr_(off_dt_struct);
|
fdt_set_hdr_(off_dt_struct)
|
||||||
fdt_set_hdr_(off_dt_strings);
|
fdt_set_hdr_(off_dt_strings)
|
||||||
fdt_set_hdr_(off_mem_rsvmap);
|
fdt_set_hdr_(off_mem_rsvmap)
|
||||||
fdt_set_hdr_(version);
|
fdt_set_hdr_(version)
|
||||||
fdt_set_hdr_(last_comp_version);
|
fdt_set_hdr_(last_comp_version)
|
||||||
fdt_set_hdr_(boot_cpuid_phys);
|
fdt_set_hdr_(boot_cpuid_phys)
|
||||||
fdt_set_hdr_(size_dt_strings);
|
fdt_set_hdr_(size_dt_strings)
|
||||||
fdt_set_hdr_(size_dt_struct);
|
fdt_set_hdr_(size_dt_struct)
|
||||||
#undef fdt_set_hdr_
|
#undef fdt_set_hdr_
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue