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>
2020-01-04 16:23:21 +02:00
..
2019-12-24 18:04:32 +01:00
2019-12-24 01:22:45 +01:00
2019-10-19 13:16:57 +02:00
2019-11-22 16:56:46 +01:00
2019-11-29 09:59:49 +01:00
2019-12-24 18:04:32 +01:00
2020-01-04 00:45:58 +01:00
2020-01-04 00:45:58 +01:00
2019-11-30 20:19:12 +02:00
2019-12-24 17:45:54 +01:00
2019-09-29 00:46:13 +02:00
2019-12-10 09:50:42 +01:00
2019-12-31 01:16:17 +01:00
2019-12-24 15:34:43 +01:00