logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0001-Remove-stray-at-top-level.patch (1668B)


  1. From 3acc8649522bc55999ddab0e3ccd073070adce74 Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Sat, 1 May 2021 01:37:46 -0700
  4. Subject: [PATCH] Remove stray ';' at top-level
  5. This is not allowed by the ISO C grammar.
  6. ---
  7. scripts/dtc/libfdt/libfdt.h | 20 ++++++++++----------
  8. tools/pblimage.c | 2 +-
  9. 2 files changed, 11 insertions(+), 11 deletions(-)
  10. diff --git a/scripts/dtc/libfdt/libfdt.h b/scripts/dtc/libfdt/libfdt.h
  11. index 421f90ad93..947e8b31cf 100644
  12. --- a/scripts/dtc/libfdt/libfdt.h
  13. +++ b/scripts/dtc/libfdt/libfdt.h
  14. @@ -219,16 +219,16 @@ int fdt_next_subnode(const void *fdt, int offset);
  15. struct fdt_header *fdth = (struct fdt_header *)fdt; \
  16. fdth->name = cpu_to_fdt32(val); \
  17. }
  18. -fdt_set_hdr_(magic);
  19. -fdt_set_hdr_(totalsize);
  20. -fdt_set_hdr_(off_dt_struct);
  21. -fdt_set_hdr_(off_dt_strings);
  22. -fdt_set_hdr_(off_mem_rsvmap);
  23. -fdt_set_hdr_(version);
  24. -fdt_set_hdr_(last_comp_version);
  25. -fdt_set_hdr_(boot_cpuid_phys);
  26. -fdt_set_hdr_(size_dt_strings);
  27. -fdt_set_hdr_(size_dt_struct);
  28. +fdt_set_hdr_(magic)
  29. +fdt_set_hdr_(totalsize)
  30. +fdt_set_hdr_(off_dt_struct)
  31. +fdt_set_hdr_(off_dt_strings)
  32. +fdt_set_hdr_(off_mem_rsvmap)
  33. +fdt_set_hdr_(version)
  34. +fdt_set_hdr_(last_comp_version)
  35. +fdt_set_hdr_(boot_cpuid_phys)
  36. +fdt_set_hdr_(size_dt_strings)
  37. +fdt_set_hdr_(size_dt_struct)
  38. #undef fdt_set_hdr_
  39. /**
  40. diff --git a/tools/pblimage.c b/tools/pblimage.c
  41. index 3c823e96cf..4c448c2111 100644
  42. --- a/tools/pblimage.c
  43. +++ b/tools/pblimage.c
  44. @@ -311,7 +311,7 @@ int pblimage_check_params(struct image_tool_params *params)
  45. next_pbl_cmd = pbl_cmd_initaddr;
  46. return 0;
  47. -};
  48. +}
  49. /* pblimage parameters */
  50. U_BOOT_IMAGE_TYPE(
  51. --
  52. 2.31.1