From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c01::244; helo=mail-pl0-x244.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl0-x244.google.com (mail-pl0-x244.google.com [IPv6:2607:f8b0:400e:c01::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 60043210FC39B for ; Wed, 22 Aug 2018 22:51:49 -0700 (PDT) Received: by mail-pl0-x244.google.com with SMTP id ba4-v6so1889869plb.11 for ; Wed, 22 Aug 2018 22:51:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=mMOKkMRP1z/WeUL3mlqCsc0ymA2MQxWX0DN+Rs8QBZs=; b=RUT0LpZLpd2gCYFErJ6Dj9bdTItdlCivUrR8G7J+XFDtvpwdm1cBALPiydfILt5Q3x 3XxDsA1MLECc8fhWLdbsvsuXraOIiM9H5YbZhLaj06p2l66QY72IphTZRtwtIjKhiTSb vZeblb8drU4Cnq+03i64NhsmCM2Wlcun/kDvc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=mMOKkMRP1z/WeUL3mlqCsc0ymA2MQxWX0DN+Rs8QBZs=; b=LeEqj1E6W68nmcq9s3RctfHGlumD2EGubvvHG6n0N2HKPmVKa8+Hh8dsVIBz+W/ugs vGwoHU39Epp7krHYYVyYbmYB0rI3adH12ba670ATJog+CUrZLreGfbbIZx99Zrc/o1RM bY4Ji7Te24QClhIBoV5saoRoYOFTSUlkERd8yYDDjgkouvcu6uO5HtrArMVPYQ/GbGr8 EK9J7Yq/67fHuYn7ewtSelZTFoSv0WIEmPLR1w+ACMuhOjQk0PZRR1TB7Kaq9plDlqmC 5VFokVNX3/OSvjAs/2hx1Q8urLxNv1abTYtVhdXGKdbqkvHTfuyNZ/PfuoGxz5QYGezj jMTw== X-Gm-Message-State: AOUpUlE0vE2Bgpm/o0hoJQ4P7OWbHChdeWVUO+WcfJ+3+Xia6z5zI48Q r78Uc21N7GxwnU9+KJOz3rLYofqNsV2suw== X-Google-Smtp-Source: AA+uWPyr0nHGiGb+srHzXMElVUY7gHBquXfRMj3XYWfcOMTsdYvQRbCEcvO3VfwQLTJKP3jAUDCy4g== X-Received: by 2002:a17:902:127:: with SMTP id 36-v6mr13511241plb.178.1535003508880; Wed, 22 Aug 2018 22:51:48 -0700 (PDT) Received: from localhost.localdomain ([64.64.108.201]) by smtp.gmail.com with ESMTPSA id v26-v6sm263501pfe.57.2018.08.22.22.51.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Aug 2018 22:51:48 -0700 (PDT) From: Haojian Zhuang To: edk2-devel@lists.01.org Cc: Laszlo Ersek , Leif Lindholm , Ard Biesheuvel Date: Thu, 23 Aug 2018 13:51:42 +0800 Message-Id: <1535003502-15734-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH v1 1/1] ArmPkg/PlatformBootManagerLib: fix hotkey of boot option X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2018 05:51:50 -0000 Fix the parameter in EfiBootManagerAddKeyOptionVariable (). Otherwise, the hotkey of boot option won't be registered correctly. Cc: Laszlo Ersek Cc: Leif Lindholm Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Haojian Zhuang --- ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c b/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c index f9c71d430c99..81d36f218700 100644 --- a/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c +++ b/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c @@ -479,7 +479,7 @@ GetPlatformOptions ( NULL, BootOptionNumber, 0, - BootKeys[Index], + &BootKeys[Index], NULL ); if (EFI_ERROR (Status)) { -- 2.7.4