Thanks Roy for the contribution, your patch has been pushed into revision 14792.
> -----Original Message----- > From: Roy Franz [mailto:roy.fr...@linaro.org] > Sent: 18 October 2013 02:44 > To: edk2-devel@lists.sourceforge.net; linaro-uefi-inter...@linaro.org > Cc: patc...@linaro.org; Roy Franz > Subject: [linaro-uefi-internal] [PATCH] Fix checking of return value of > NorFlashWriteBlocks(). > > Signed-off-by: Roy Franz <roy.fr...@linaro.org> > Contributed-under: TianoCore Contribution Agreement 1.0 > --- > ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashFvbDxe.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashFvbDxe.c > b/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashFvbDxe.c > index ab6304b..4b56f2a 100644 > --- a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashFvbDxe.c > +++ b/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashFvbDxe.c > @@ -608,7 +608,7 @@ FvbWrite ( > CopyMem((BlockBuffer + Offset), Buffer, *NumBytes); > > // Write the modified buffer back to the NorFlash > - Status = NorFlashWriteBlocks (Instance, Instance->StartLba + Lba, > BlockSize, BlockBuffer); > + TempStatus = NorFlashWriteBlocks (Instance, Instance->StartLba + > Lba, BlockSize, BlockBuffer); > if (EFI_ERROR (TempStatus)) { > // Return one of the pre-approved error statuses > Status = EFI_DEVICE_ERROR; > -- > 1.7.10.4 > > To unsubscribe from this group and stop receiving emails from it, send > an email to linaro-uefi-internal+unsubscr...@linaro.org. ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel