You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target
Daniel Golle f64c64a91c generic: fix compiler error in OpenWrt's kexec patch
330-MIPS-kexec-Accept-command-line-parameters-from-users.patch causes
problems when building with -Werror=unused-result.

arch/mips/kernel/machine_kexec.c: In function 'machine_kexec_init_argv':
arch/mips/kernel/machine_kexec.c:76:2: error: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result [-Werror=unused-result]
  copy_from_user(kexec_argv_buf, buf, size);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Fix this by handling the return value in an appropriate way.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
5 years ago
..
imagebuilder target/imagebuilder: use multi-thread support for xz compression 5 years ago
linux generic: fix compiler error in OpenWrt's kexec patch 5 years ago
sdk sdk: use bundle-libraries.sh to ship kernel objtool tools 5 years ago
toolchain toolchain: wrapper.sh: harmonize leading whitespaces 5 years ago
Config.in build: add a config option for enabling a testing version of the target kernel 5 years ago
Makefile build: make <subdir>/install opt-in, use it for target/ only 7 years ago