openwrt/target/linux/mvebu
Christian Marangi 2f9bc747cb
mvebu: 5.15: fix compilation warning for mangle bootargs patch
Fix compilation warning for mangle bootargs patch.
Fix compilation warning:
arch/arm/boot/compressed/atags_to_fdt.c: In function 'append_rootblock':
arch/arm/boot/compressed/atags_to_fdt.c:84:13: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
   84 |         ptr = str - 1;
      |             ^
arch/arm/boot/compressed/atags_to_fdt.c: In function 'atags_to_fdt':
arch/arm/boot/compressed/atags_to_fdt.c:213:18: error: unused variable 'memsize' [-Werror=unused-variable]
  213 |         int ret, memsize;
      |                  ^~~~~~~
arch/arm/boot/compressed/atags_to_fdt.c:212:13: error: unused variable 'memcount' [-Werror=unused-variable]
  212 |         int memcount = 0;
      |             ^~~~~~~~
arch/arm/boot/compressed/atags_to_fdt.c:211:16: error: unused variable 'mem_reg_property' [-Werror=unused-variable]
  211 |         __be32 mem_reg_property[2 * 2 * NR_BANKS];
      |                ^~~~~~~~~~~~~~~~
arch/arm/boot/compressed/atags_to_fdt.c: At top level:
arch/arm/boot/compressed/atags_to_fdt.c:180:13: error: 'hex_str' defined but not used [-Werror=unused-function]
  180 | static void hex_str(char *out, uint32_t value)
      |             ^~~~~~~
arch/arm/boot/compressed/atags_to_fdt.c:63:17: error: 'get_cell_size' defined but not used [-Werror=unused-function]
   63 | static uint32_t get_cell_size(const void *fdt)
      |                 ^~~~~~~~~~~~~
arch/arm/boot/compressed/atags_to_fdt.c:43:12: error: 'setprop_cell' defined but not used [-Werror=unused-function]
   43 | static int setprop_cell(void *fdt, const char *node_path,
      |            ^~~~~~~~~~~~
arch/arm/boot/compressed/atags_to_fdt.c:25:12: error: 'setprop' defined but not used [-Werror=unused-function]
   25 | static int setprop(void *fdt, const char *node_path, const char *property,
      |            ^~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-12 03:15:42 +02:00
..
base-files/lib/preinit mvebu: switch to generic sdcard upgrade method 2021-08-07 01:43:39 +03:00
cortexa9 mvebu: cortexa9: fix Linksys upgrade, restore config step 2023-04-11 12:22:09 +02:00
cortexa53 mvebu/uDPU: add quotes to unmount file 2023-02-03 11:34:20 +01:00
cortexa72 mvebu: cortexa72: add CONFIG_ARM64_ERRATUM_1742098 2022-10-30 17:55:00 +01:00
files/arch mvebu: add support for Fortinet FortiGate 50E 2023-03-08 23:49:39 +01:00
image mvebu: add support for Fortinet FortiGate 50E 2023-03-08 23:49:39 +01:00
patches-5.10 mvebu: puzzle-mcu: add mcu write retry function 2023-04-13 01:07:54 +01:00
patches-5.15 mvebu: 5.15: fix compilation warning for mangle bootargs patch 2023-05-12 03:15:42 +02:00
config-5.10 kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
config-5.15 mvebu: refresh the 5.15 kconfigs 2022-08-16 22:38:46 +01:00
Makefile Revert "Revert "mvebu: switch default kernel to 5.15"" 2022-12-20 14:00:35 +01:00
modules.mk kernel: add kmod-leds-turris-omnia 2022-06-24 09:18:03 +02:00