diff options
| author | Michael Forney <mforney@mforney.org> | 2021-04-18 23:47:02 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2021-04-18 23:53:32 -0700 |
| commit | 31323c7a0d86e85e1960ba5539de870053f5ba5d (patch) | |
| tree | c064554e798e646ab1cd6939f57b8293efbd6de1 /pkg/u-boot | |
| parent | f371f5990362a031f6711146267af1380533f250 (diff) | |
u-boot: Avoid ';' at top-level
Diffstat (limited to 'pkg/u-boot')
| -rw-r--r-- | pkg/u-boot/patch/0001-libfdt-Avoid-stray-at-top-level.patch | 47 | ||||
| -rw-r--r-- | pkg/u-boot/ver | 2 |
2 files changed, 48 insertions, 1 deletions
diff --git a/pkg/u-boot/patch/0001-libfdt-Avoid-stray-at-top-level.patch b/pkg/u-boot/patch/0001-libfdt-Avoid-stray-at-top-level.patch new file mode 100644 index 00000000..eb2acac4 --- /dev/null +++ b/pkg/u-boot/patch/0001-libfdt-Avoid-stray-at-top-level.patch @@ -0,0 +1,47 @@ +From 18c6b4251594f8e8e79a25a3c83a5294e81b649e Mon Sep 17 00:00:00 2001 +From: Michael Forney <mforney@mforney.org> +Date: Fri, 9 Apr 2021 22:48:27 -0700 +Subject: [PATCH] libfdt: Avoid stray ';' at top-level + +Function definitions do not require a semicolon, and stray semicolons +at top-level are not allowed in ISO C. + +Signed-off-by: Michael Forney <mforney@mforney.org> +--- + scripts/dtc/libfdt/libfdt.h | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +diff --git a/scripts/dtc/libfdt/libfdt.h b/scripts/dtc/libfdt/libfdt.h +index 421f90ad93..947e8b31cf 100644 +--- a/scripts/dtc/libfdt/libfdt.h ++++ b/scripts/dtc/libfdt/libfdt.h +@@ -219,16 +219,16 @@ int fdt_next_subnode(const void *fdt, int offset); + struct fdt_header *fdth = (struct fdt_header *)fdt; \ + fdth->name = cpu_to_fdt32(val); \ + } +-fdt_set_hdr_(magic); +-fdt_set_hdr_(totalsize); +-fdt_set_hdr_(off_dt_struct); +-fdt_set_hdr_(off_dt_strings); +-fdt_set_hdr_(off_mem_rsvmap); +-fdt_set_hdr_(version); +-fdt_set_hdr_(last_comp_version); +-fdt_set_hdr_(boot_cpuid_phys); +-fdt_set_hdr_(size_dt_strings); +-fdt_set_hdr_(size_dt_struct); ++fdt_set_hdr_(magic) ++fdt_set_hdr_(totalsize) ++fdt_set_hdr_(off_dt_struct) ++fdt_set_hdr_(off_dt_strings) ++fdt_set_hdr_(off_mem_rsvmap) ++fdt_set_hdr_(version) ++fdt_set_hdr_(last_comp_version) ++fdt_set_hdr_(boot_cpuid_phys) ++fdt_set_hdr_(size_dt_strings) ++fdt_set_hdr_(size_dt_struct) + #undef fdt_set_hdr_ + + /** +-- +2.30.1 + diff --git a/pkg/u-boot/ver b/pkg/u-boot/ver index a16f74db..9ca9f933 100644 --- a/pkg/u-boot/ver +++ b/pkg/u-boot/ver @@ -1 +1 @@ -2021.01 r0 +2021.01 r1 |
