mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
2f9bc747cb
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> |
||
---|---|---|
.. | ||
100-aardvark-workaround-PCIe.patch | ||
100-ARM-dts-turris-omnia-configure-LED-0-pin-function-to.patch | ||
101-ARM-dts-turris-omnia-enable-LED-controller-node.patch | ||
102-leds-turris-omnia-support-HW-controlled-mode-via-pri.patch | ||
103-leds-turris-omnia-initialize-multi-intensity-to-full.patch | ||
104-leds-turris-omnia-change-max-brightness-from-255-to-.patch | ||
105-power-reset-linkstation-poweroff-add-ls220de.patch | ||
300-mvebu-Mangle-bootloader-s-kernel-arguments.patch | ||
301-mvebu-armada-38x-enable-libata-leds.patch | ||
302-add_powertables.patch | ||
304-revert_i2c_delay.patch | ||
305-armada-385-rd-mtd-partitions.patch | ||
306-ARM-mvebu-385-ap-Add-partitions.patch | ||
307-armada-xp-linksys-mamba-broken-idle.patch | ||
308-armada-xp-linksys-mamba-wan.patch | ||
309-linksys-status-led.patch | ||
310-linksys-use-eth0-as-cpu-port.patch | ||
311-adjust-compatible-for-linksys.patch | ||
312-ARM-dts-armada388-clearfog-emmc-on-clearfog-base.patch | ||
313-helios4-dts-status-led-alias.patch | ||
315-armada-xp-linksys-mamba-resize-kernel.patch | ||
316-armada-370-dts-fix-crypto-engine.patch | ||
400-find_active_root.patch | ||
700-mvneta-tx-queue-workaround.patch | ||
702-net-next-ethernet-marvell-mvnetaMQPrioOffload.patch | ||
703-net-next-ethernet-marvell-mvnetaMQPrioFlag.patch | ||
704-net-next-ethernet-marvell-mvnetaMQPrioQueue.patch | ||
705-net-next-ethernet-marvell-mvnetaMQPrioTCOffload.patch | ||
710-v6.2-phy-marvell-phy-mvebu-a3700-comphy-Reset-COMPHY-regi.patch | ||
800-cpuidle-mvebu-indicate-failure-to-enter-deeper-sleep.patch | ||
801-pci-mvebu-time-out-reset-on-link-up.patch | ||
901-dt-bindings-Add-IEI-vendor-prefix-and-IEI-WT61P803-P.patch | ||
902-drivers-mfd-Add-a-driver-for-IEI-WT61P803-PUZZLE-MCU.patch | ||
903-drivers-hwmon-Add-the-IEI-WT61P803-PUZZLE-HWMON-driv.patch | ||
904-drivers-leds-Add-the-IEI-WT61P803-PUZZLE-LED-driver.patch | ||
905-Documentation-ABI-Add-iei-wt61p803-puzzle-driver-sys.patch | ||
906-Documentation-hwmon-Add-iei-wt61p803-puzzle-hwmon-dr.patch | ||
907-MAINTAINERS-Add-an-entry-for-the-IEI-WT61P803-PUZZLE.patch | ||
910-drivers-leds-wt61p803-puzzle-improvements.patch | ||
911-drivers-leds-wt61p803-puzzle-mcu-retry.patch |