mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-10-17 23:24:28 -04:00
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> |
||
---|---|---|
.. | ||
backport-4.9 | ||
backport-4.14 | ||
backport-4.19 | ||
files | ||
hack-4.9 | ||
hack-4.14 | ||
hack-4.19 | ||
image | ||
other-files | ||
pending-4.9 | ||
pending-4.14 | ||
pending-4.19 | ||
config-4.9 | ||
config-4.14 | ||
config-4.19 | ||
PATCHES |