From mboxrd@z Thu Jan 1 00:00:00 1970 From: york sun Date: Tue, 22 Mar 2016 15:47:47 +0000 Subject: [U-Boot] [PATCH][v2] driver: net: fsl-mc: Return from DPAA_exit if boot_status !=0 References: <1458550179-11982-1-git-send-email-prabhakar.kushwaha@nxp.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 03/21/2016 01:50 AM, Prabhakar Kushwaha wrote: > Return value of get_mc_boot_status() in case of failure is not necessary > to be -1. > > So update the error condition check. > > Signed-off-by: Prabhakar Kushwaha > Reported-by: Yao Yuan > --- > Changes for v2: Incorporated York's comments > - Added comments > > drivers/net/fsl-mc/mc.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > Applied to u-boot-fsl-qoriq, awaiting upstream. Thanks. York