Thanks Roy for the contribution, your patch has been pushed into revision 14792.
> -----Original Message----- > From: Roy Franz [mailto:[email protected]] > Sent: 18 October 2013 02:44 > To: [email protected]; [email protected] > Cc: [email protected]; Roy Franz > Subject: [linaro-uefi-internal] [PATCH] Fix checking of return value of > NorFlashWriteBlocks(). > > Signed-off-by: Roy Franz <[email protected]> > 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 [email protected]. ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
