[PATCH 2/2] powerpc/eeh: Reworked eeh_pe_bus_get()

Andrew Donnellan andrew.donnellan at au1.ibm.com
Mon Feb 8 16:55:58 AEDT 2016

On 08/02/16 16:35, Gavin Shan wrote:
> The original implementation is ugly: unnecessary if statements and
> "out" tag. This reworks the function to avoid above weaknesses. No
> functional changes introduced.
> Signed-off-by: Gavin Shan <gwshan at linux.vnet.ibm.com>

This is definitely a lot nicer to read and doesn't appear to have any 
functional changes.

Reviewed-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

Andrew Donnellan              Software Engineer, OzLabs
andrew.donnellan at au1.ibm.com  Australia Development Lab, Canberra
+61 2 6201 8874 (work)        IBM Australia Limited

More information about the Linuxppc-dev mailing list