On Tue, Mar 22, 2016 at 11:37:17AM +0800, Dandan Bi wrote:
> The type casting is not necessary and now remove it.
> 
For this series
Reviewed-by: Gary Lin <[email protected]>

Thanks for catching the other incompatible handlers!

Gary Lin

> Cc: Liming Gao <[email protected]>
> Cc: Eric Dong <[email protected]>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Dandan Bi <[email protected]>
> ---
>  MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git 
> a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c 
> b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
> index 745f971..a34ac85 100644
> --- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
> +++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
> @@ -900,16 +900,16 @@ BootMaintCallback (
>      if (QuestionId < FILE_OPTION_OFFSET) {
>        if (QuestionId < CONFIG_OPTION_OFFSET) {
>          switch (QuestionId) {
>          case FORM_BOOT_ADD_ID:
>            // Leave BMM and enter FileExplorer. 
> -          ChooseFile( NULL, L".efi", (CHOOSE_HANDLER) 
> CreateBootOptionFromFile, &File);
> +          ChooseFile (NULL, L".efi", CreateBootOptionFromFile, &File);
>            break;
>  
>          case FORM_DRV_ADD_FILE_ID:
>            // Leave BMM and enter FileExplorer.
> -          ChooseFile( NULL, L".efi", (CHOOSE_HANDLER) 
> CreateDriverOptionFromFile, &File);
> +          ChooseFile (NULL, L".efi", CreateDriverOptionFromFile, &File);
>            break;
>  
>          case FORM_DRV_ADD_HANDLE_ID:
>            CleanUpPage (FORM_DRV_ADD_HANDLE_ID, Private);
>            UpdateDrvAddHandlePage (Private);
> @@ -981,11 +981,11 @@ BootMaintCallback (
>          UpdateDriverAddHandleDescPage (Private);
>        }
>      }
>      if (QuestionId == KEY_VALUE_BOOT_FROM_FILE){
>        // Leave BMM and enter FileExplorer.
> -      ChooseFile( NULL, L".efi", (CHOOSE_HANDLER) BootFromFile, &File);
> +      ChooseFile (NULL, L".efi", BootFromFile, &File);
>      }
>    } else if (Action == EFI_BROWSER_ACTION_CHANGED) {
>      if ((Value == NULL) || (ActionRequest == NULL)) {
>        return EFI_INVALID_PARAMETER;
>      }
> -- 
> 1.9.5.msysgit.1
> 
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.01.org/mailman/listinfo/edk2-devel
> 
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to