Will Deacon
121ca8e565
arm64: kexec_file: Refactor setup_dtb() to consolidate error checking
...
setup_dtb() is a little difficult to read. This is largely because it
duplicates the FDT -> Linux errno conversion for every intermediate
return value, but also because of silly cosmetic things like naming
and formatting.
Given that this is all brand new, refactor the function to get us off on
the right foot.
Signed-off-by: Will Deacon <will.deacon@arm.com>
2018-12-06 15:16:58 +00:00
..
2018-11-02 18:15:07 +00:00
2018-07-18 01:18:05 +09:00
2012-09-17 13:42:21 +01:00
2018-10-31 08:54:16 -07:00
2017-06-29 11:33:15 +01:00
2018-10-31 08:54:16 -07:00
2018-08-08 11:20:54 +01:00
2018-10-26 16:25:18 -07:00
2018-07-12 14:40:38 +01:00
2018-05-31 18:00:57 +01:00
2018-05-17 17:28:09 +01:00
2018-10-19 15:37:25 +01:00
2017-12-01 13:05:08 +00:00
2018-07-04 18:34:24 +01:00
2018-12-06 14:38:53 +00:00
2018-10-16 11:53:31 +01:00
2018-01-02 13:50:34 +00:00
2018-10-16 11:53:31 +01:00
2018-09-11 11:08:49 +01:00
2018-11-02 17:24:17 +00:00
2018-09-27 21:54:43 +02:00
2018-02-06 22:53:13 +00:00
2017-04-04 17:50:59 +01:00
2018-03-09 08:58:22 +01:00
2018-03-09 08:58:22 +01:00
2018-05-17 18:19:53 +01:00
2017-11-03 12:05:23 +00:00
2018-10-01 16:52:24 +01:00
2018-09-27 21:55:23 +02:00
2017-12-01 13:04:59 +00:00
2018-12-06 14:38:51 +00:00
2018-02-06 22:53:21 +00:00
2018-05-31 17:35:19 +01:00
2018-06-26 09:07:56 +02:00
2017-04-09 07:49:35 -07:00
2018-12-06 14:38:51 +00:00
2018-07-05 17:24:48 +01:00
2017-10-24 16:23:07 +01:00
2018-08-03 12:14:09 +02:00
2018-09-27 17:56:47 +02:00
2018-03-08 13:49:26 +00:00
2018-12-06 15:16:52 +00:00
2018-03-06 18:52:34 +00:00
2014-07-10 11:02:40 +01:00
2018-12-06 15:16:58 +00:00
2018-12-06 14:38:53 +00:00
2018-12-06 14:38:52 +00:00
2018-04-24 19:07:35 +01:00
2018-06-27 18:21:53 +01:00
2017-12-01 13:04:59 +00:00
2018-09-03 16:50:35 +02:00
2018-09-17 16:33:23 -05:00
2017-08-09 14:10:29 +01:00
2018-10-12 15:25:17 +01:00
2018-04-19 13:29:54 +02:00
2018-11-01 11:46:27 -07:00
2018-10-01 11:57:04 +01:00
2018-09-27 21:55:15 +02:00
2018-03-19 18:14:25 +00:00
2018-03-19 18:14:25 +00:00
2018-12-06 14:38:53 +00:00
2017-08-09 14:10:29 +01:00
2018-07-31 12:08:22 +01:00
2018-11-15 10:04:46 +01:00
2018-07-12 14:49:48 +01:00
2018-07-12 14:49:48 +01:00
2018-09-25 15:10:54 +01:00
2017-02-03 18:46:33 +00:00
2017-01-12 15:05:39 +00:00
2018-09-28 14:25:58 -05:00
2018-09-14 17:46:19 +01:00
2018-07-26 11:36:07 +01:00
2018-09-18 12:02:27 +01:00
2018-07-12 14:49:48 +01:00
2018-09-27 21:52:54 +02:00
2018-07-12 14:49:48 +01:00
2018-07-30 17:43:39 +01:00
2018-02-23 13:46:38 +00:00
2018-07-06 13:18:18 +01:00
2017-11-02 11:10:55 +01:00
2018-10-24 11:22:39 +01:00
2017-08-09 12:16:28 +01:00
2018-10-24 11:49:35 +01:00