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