[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <3rgJvD18wYz9t0V@ozlabs.org>
Date: Thu, 30 Jun 2016 22:36:40 +1000 (AEST)
From: Michael Ellerman <mpe@...erman.id.au>
To: Suraj Jitindar Singh <sjitindarsingh@...il.com>,
linuxppc-dev@...ts.ozlabs.org
Cc: robh@...nel.org, arnd@...db.de, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, paulus@...ba.org,
sjitindarsingh@...il.com
Subject: Re: [V5, 2/3] powerpc/opal: Add inline function to get rc from an ASYNC_COMP opal_msg
On Wed, 2016-29-06 at 03:38:38 UTC, Suraj Jitindar Singh wrote:
> 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@...il.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/d0226d315dba5e401a124b394a
cheers
Powered by blists - more mailing lists