Suraj Jitindar Singh
d0226d315d
powerpc/opal: Add inline function to get rc from an ASYNC_COMP opal_msg
...
An opal_msg of type OPAL_MSG_ASYNC_COMP contains the return code in the
params[1] struct member. However this isn't intuitive or obvious when
reading the code and requires that a user look at the skiboot
documentation or opal-api.h to verify this.
Add an inline function to get the return code from an opal_msg and update
call sites accordingly.
Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-06-29 17:33:18 +10:00
..
2016-03-14 17:08:18 +01:00
2015-04-17 09:04:02 -04:00
2016-03-14 17:08:15 +01:00
2016-05-21 17:06:52 +02:00
2016-03-14 17:08:35 +01:00
2015-09-05 13:19:05 +02:00
2014-10-20 16:21:31 +02:00
2015-04-03 08:18:25 +02:00
2015-11-08 14:12:25 +01:00
2015-09-05 13:19:08 +02:00
2016-03-25 02:41:13 +01:00
2015-09-05 19:37:22 +02:00
2016-03-14 17:08:25 +01:00
2016-03-19 00:02:55 +01:00
2015-06-25 01:12:50 +02:00
2015-11-08 14:12:28 +01:00
2013-04-05 09:36:53 -07:00
2016-05-20 12:33:51 +02:00
2014-10-20 16:21:31 +02:00
2015-09-05 13:19:09 +02:00
2015-09-05 13:19:06 +02:00
2014-10-20 16:21:31 +02:00
2016-05-20 12:33:51 +02:00
2015-09-05 19:37:22 +02:00
2015-09-05 13:19:07 +02:00
2016-05-20 12:33:51 +02:00
2014-10-20 16:21:31 +02:00
2016-01-11 20:19:57 +01:00
2015-11-08 14:12:29 +01:00
2015-09-05 13:19:07 +02:00
2015-04-17 09:04:01 -04:00
2014-10-20 16:21:31 +02:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2016-02-04 23:44:16 +01:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2015-10-28 10:30:17 +09:00
2015-09-05 19:37:22 +02:00
2015-11-10 10:01:21 -08:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2016-01-11 20:22:27 +01:00
2016-05-20 12:33:51 +02:00
2015-04-17 09:04:02 -04:00
2016-01-11 20:19:55 +01:00
2015-04-17 09:03:59 -04:00
2016-05-20 12:33:51 +02:00
2015-09-05 13:19:06 +02:00
2016-05-20 12:33:51 +02:00
2016-03-14 17:08:31 +01:00
2015-06-19 20:03:20 +02:00
2016-05-20 12:33:51 +02:00
2016-01-11 20:19:58 +01:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2015-11-08 14:12:30 +01:00
2014-10-20 16:21:31 +02:00
2014-11-21 12:00:00 -08:00
2014-10-20 16:21:31 +02:00
2015-09-05 13:19:06 +02:00
2016-01-11 20:19:59 +01:00
2015-06-21 21:53:59 +02:00
2016-05-20 12:33:51 +02:00
2015-10-28 10:30:17 +09:00
2015-10-28 10:30:17 +09:00
2016-05-20 12:33:51 +02:00
2015-09-05 13:19:10 +02:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2015-10-28 10:30:17 +09:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-09-05 19:37:21 +02:00
2015-06-25 01:13:36 +02:00
2016-03-14 17:08:27 +01:00
2016-05-20 12:33:51 +02:00
2016-03-21 22:55:29 +01:00
2015-09-05 19:37:22 +02:00
2015-09-05 19:37:22 +02:00
2016-05-20 12:33:51 +02:00
2015-04-17 09:04:02 -04:00
2016-03-14 17:08:26 +01:00
2015-09-05 19:37:22 +02:00
2016-05-20 12:33:51 +02:00
2014-10-20 16:21:31 +02:00
2015-09-05 19:37:21 +02:00
2016-06-29 17:33:18 +10:00
2016-03-14 17:08:22 +01:00
2014-10-20 16:21:31 +02:00
2016-05-20 12:33:51 +02:00
2016-03-14 17:08:41 +01:00
2016-03-14 17:08:30 +01:00
2016-05-20 12:33:51 +02:00
2015-09-05 13:19:06 +02:00
2013-04-29 18:28:38 -07:00
2016-03-14 17:08:30 +01:00
2016-03-14 17:08:21 +01:00
2013-11-13 12:09:31 +09:00
2015-11-08 14:12:24 +01:00
2014-11-03 19:53:56 -08:00
2016-01-11 20:19:55 +01:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-09-05 19:37:16 +02:00
2015-10-28 10:30:17 +09:00
2014-10-20 16:21:31 +02:00
2015-12-20 13:39:00 +01:00
2015-09-05 13:19:10 +02:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2016-05-21 17:07:16 +02:00
2016-05-21 17:07:16 +02:00
2016-03-25 02:38:59 +01:00
2015-10-28 10:30:17 +09:00
2016-03-14 17:08:10 +01:00
2016-01-11 20:19:59 +01:00
2016-03-17 21:38:27 -07:00
2016-05-20 12:33:51 +02:00
2016-03-19 00:00:12 +01:00
2013-04-19 13:51:25 +02:00
2016-03-14 17:08:18 +01:00
2013-04-29 18:28:38 -07:00
2015-09-05 19:37:16 +02:00
2015-09-05 19:37:16 +02:00
2016-05-20 12:33:51 +02:00
2015-09-05 13:19:06 +02:00
2016-05-20 12:33:51 +02:00
2015-06-25 01:13:40 +02:00
2015-07-23 17:07:35 +01:00
2014-10-20 16:21:31 +02:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2014-10-20 16:21:31 +02:00
2014-09-19 12:39:19 +02:00
2016-01-11 20:19:57 +01:00
2016-03-14 17:08:16 +01:00
2015-04-15 16:35:24 -07:00
2015-04-03 08:18:24 +02:00
2014-10-20 16:21:31 +02:00
2016-05-21 17:07:17 +02:00
2016-03-14 17:08:23 +01:00
2016-03-14 17:08:24 +01:00
2015-04-17 09:04:02 -04:00
2015-09-05 13:19:10 +02:00
2016-01-11 20:20:00 +01:00
2016-03-14 17:08:25 +01:00
2015-09-05 19:37:22 +02:00
2013-07-03 16:07:59 -07:00
2013-04-29 18:28:32 -07:00
2016-05-20 12:33:51 +02:00
2014-10-20 16:21:31 +02:00
2016-05-20 12:33:51 +02:00
2015-06-25 01:13:42 +02:00