Andrew:
The patch is good.
  Reviewed-by: Liming Gao <[email protected]>

Thanks
Liming
From: Andrew Fish [mailto:[email protected]]
Sent: Thursday, February 14, 2013 6:09 AM
To: [email protected]
Subject: [edk2] [MdePkg] Minor code bug.

There is a cast to (EFI_HANDLE *) That is not needed in 
InternalImageHandleToFvHandle()

Contributed-under: TianoCore Contribution Agreement 1.0

Signed-off-by: Andrew Fish <[email protected]<mailto:[email protected]>>

Andrew Fish

https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/MdePkg/Library/DxeServicesLib/DxeServicesLib.c
EFI_HANDLE
InternalImageHandleToFvHandle (
  EFI_HANDLE ImageHandle
  )
{
  EFI_STATUS                    Status;
  EFI_LOADED_IMAGE_PROTOCOL     *LoadedImage;

  ASSERT (ImageHandle != NULL);

  Status = gBS->HandleProtocol (
             (EFI_HANDLE *) ImageHandle,
             &gEfiLoadedImageProtocolGuid,
             (VOID **) &LoadedImage
             );

  ASSERT_EFI_ERROR (Status);

  return LoadedImage->DeviceHandle;

}



------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to