Thread (22 messages) 22 messages, 4 authors, 2015-10-21

Re: [PATCH v2 5/8] powerpc/pseries: Cleanup on pseries_eeh_get_state()

From: Andrew Donnellan <hidden>
Date: 2015-10-08 04:16:29

On 08/10/15 14:58, Gavin Shan wrote:
This cleans up pseries_eeh_get_state(), no functional changes:

    * Return EEH_STATE_NOT_SUPPORT early when the 2nd RTAS output
      argument is zero to avoid nested if statements.
    * Skip clearing bits in the PE state represented by variable
      "result" to simplify the code.

Signed-off-by: Gavin Shan <redacted>
Much easier to follow!

Reviewed-by: Andrew Donnellan <redacted>

-- 
Andrew Donnellan              Software Engineer, OzLabs
andrew.donnellan@au1.ibm.com  Australia Development Lab, Canberra
+61 2 6201 8874 (work)        IBM Australia Limited
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help