From patchwork Thu Aug 23 05:51:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 144870 Delivered-To: patch@linaro.org Received: by 2002:a2e:164a:0:0:0:0:0 with SMTP id 10-v6csp722278ljw; Wed, 22 Aug 2018 22:51:52 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxl2QzLKtKIguWTmJ1QV00j0SOjLfNNy1kHap+RORi6Y0vGvPwTBMQVHxB0xElLD8pPsrAW X-Received: by 2002:a17:902:22:: with SMTP id 31-v6mr56813568pla.190.1535003512417; Wed, 22 Aug 2018 22:51:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535003512; cv=none; d=google.com; s=arc-20160816; b=IWCw8DifegbUy5NRqFYplaICqS/9F3QYBP88saX8MddM1oh8QrIGF6Qc99Q7uL6MWA BRZeT+NhFmHlnSs3/tKBBz87ZrWpSzCPBE1L24VPFtxXsuM3PP8TcRB0tkkX8eKKuw9G Y6ej4nl/g1cHIoA2iBx4r07pln3/WkQgjy6D/2LVlLB7uX9vLvEYTwx7gkAUNEwznLwO YwAZ5KyZ4qWepTNKpaQpH9W98qPOnJ7AVp7cbXpNTIZHi+EhxnPt8XlmE/NHTHwXx7s3 RLMXgHe8RfsgPjP0poZlKMzL/nhZ4mv34Uo9gYTe9qNL4p5E/ZyT5Qqs3N5gpx16P/2p 6Lqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=mtdXdcdzKqT2Nwc0vfJA3IjMH5ZawaWpFIEfQThTt8Q=; b=Nq2ZXTjl3+fa5woXdVNHOLLwSgmHgfKWq6gpsNfkRIPENlCga7XSfkxwh+rbg9Bk8x RRY/kUtYuD6cRAlhXnI6dfa0fRW7rcUPClJh6cipoEx8YfURp/ASxolGuVx5Bz6zmW1e gN9g86xSZafG5qkzrVLdaeVQajFejW5c1bwUrfhnlJKh5XukjY/8Hq3VbZvYmAXaTT2m WyFQAyyw0ErqFWKPSYGle5F8CJsaJnG9fNlLft9hUcYxseuuS6u4xTWdQrHPqFnmjCHn eiIPjY/4fX2xDE9xvYHOq8tjCnSOea/fszicufIMEeLGM2YhuAGwOmFD/kzicBhgxb6X QUuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RUT0LpZL; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id 29-v6si3473480pgv.292.2018.08.22.22.51.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Aug 2018 22:51:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RUT0LpZL; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id D0002210FCF62; Wed, 22 Aug 2018 22:51:51 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org 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-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 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: [edk2] [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: , Cc: Laszlo Ersek MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Laszlo Ersek 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)) {