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-07-18 00:22:04 +02:00
2018-06-01 08:25:14 +02:00
2018-06-01 08:25:14 +02:00
2019-06-07 18:22:20 +02:00
2019-12-10 09:50:42 +01:00
2018-11-22 10:49:01 +01:00
2018-07-31 04:56:58 +02:00
2018-09-26 15:54:18 +02:00
2019-08-09 18:30:26 +02:00
2019-08-06 11:52:47 +02:00
2018-10-09 14:15:53 +02:00
2019-12-24 18:04:32 +01:00
2019-12-24 18:04:32 +01:00
2018-06-18 20:29:26 +02:00
2018-07-02 07:04:34 +02:00
2019-01-13 16:24:50 +01:00
2020-01-04 16:23:21 +02:00
2019-04-23 13:22:31 +02:00
2017-12-08 19:55:17 +01:00
2019-12-24 18:04:32 +01:00
2019-12-10 09:50:42 +01:00
2019-12-10 09:50:42 +01:00
2019-12-10 09:50:42 +01:00
2019-12-10 09:50:42 +01:00
2018-11-20 14:44:01 +01:00
2018-11-20 14:44:01 +01:00
2018-07-30 23:49:49 +02:00
2018-07-30 12:07:06 +02:00
2018-07-27 22:16:24 +02:00
2018-07-27 22:16:24 +02:00
2018-02-26 19:20:06 +01:00
2019-10-08 12:44:35 +02:00
2018-11-14 16:27:43 +01:00
2018-11-14 16:27:43 +01:00
2019-01-16 12:56:30 +01:00
2018-11-14 16:27:43 +01:00
2018-11-14 16:27:43 +01:00
2018-11-14 16:27:43 +01:00
2018-05-22 20:48:43 +02:00
2018-07-24 22:24:21 +02:00
2018-02-18 02:59:57 +01:00
2018-02-18 02:59:57 +01:00
2017-12-24 09:03:01 +01:00
2019-08-28 13:08:20 +02:00
2018-08-01 09:46:59 +02:00
2017-11-22 20:45:52 +01:00
2018-03-11 08:58:53 +01:00
2019-08-28 13:08:20 +02:00
2019-11-19 14:59:03 +01:00
2019-08-14 18:23:08 +02:00
2019-02-01 11:41:00 +01:00
2019-12-24 18:04:32 +01:00
2018-04-26 08:53:54 +02:00
2019-08-06 11:52:47 +02:00
2018-07-31 04:56:58 +02:00
2018-07-31 05:28:48 +02:00
2019-06-03 12:40:53 +02:00
2019-08-06 11:52:47 +02:00
2019-12-24 18:04:32 +01:00
2019-06-24 16:36:30 +02:00
2019-12-24 18:04:32 +01:00
2018-04-26 08:53:54 +02:00
2018-08-01 09:46:59 +02:00