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
..
2023-05-10 19:01:45 +02:00
2023-04-22 01:15:03 +02:00
2023-04-29 21:56:53 +02:00
2023-05-10 19:01:45 +02:00
2023-05-10 19:01:45 +02:00
2023-05-12 03:15:34 +02:00
2023-05-10 19:01:45 +02:00
2023-05-12 03:15:37 +02:00
2023-05-10 19:01:45 +02:00
2023-03-04 20:09:49 +01:00
2023-05-12 03:15:34 +02:00
2023-04-27 15:39:09 +02:00
2023-05-10 19:01:45 +02:00
2023-05-12 03:15:36 +02:00
2023-05-03 10:26:17 -07:00
2023-05-12 03:15:41 +02:00
2023-05-12 03:15:41 +02:00
2023-04-30 00:02:47 +02:00
2023-05-10 19:01:45 +02:00
2023-05-12 03:15:36 +02:00
2023-05-12 03:15:41 +02:00
2023-05-11 23:09:04 +02:00
2023-04-29 21:56:53 +02:00
2023-05-12 03:15:42 +02:00
2023-05-10 19:01:45 +02:00
2023-04-08 00:47:12 +02:00
2023-03-18 12:52:17 +01:00
2023-05-03 14:49:44 +02:00
2023-05-12 03:15:38 +02:00
2023-03-20 22:44:28 +01:00
2023-05-03 10:26:17 -07:00
2023-05-12 03:15:39 +02:00
2023-05-12 03:15:40 +02:00
2023-05-09 13:30:22 +08:00
2023-05-03 10:26:17 -07:00
2023-04-08 00:30:22 +02:00
2023-05-03 10:26:17 -07:00
2023-05-10 19:01:45 +02:00