From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id C8A8F1A004B for ; Wed, 9 Mar 2016 23:51:37 +1100 (AEDT) In-Reply-To: <1454993431-17068-3-git-send-email-gwshan@linux.vnet.ibm.com> To: Gavin Shan , linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: Gavin Shan Subject: Re: [v2,3/4] powerpc/eeh: Reworked eeh_pe_bus_get() Message-Id: <20160309125137.AFB89140BAC@ozlabs.org> Date: Wed, 9 Mar 2016 23:51:37 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2016-09-02 at 04:50:23 UTC, 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 > Reviewed-by: Andrew Donnellan Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/4eb0799ff93b54dd40c0c5bb06 cheers