From patchwork Sun Sep 10 11:21:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 812113 X-Patchwork-Delegate: agraf@suse.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="rhJlTUUc"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xqpsm5z1Jz9sDB for ; Sun, 10 Sep 2017 21:36:12 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 92C46C21EFC; Sun, 10 Sep 2017 11:29:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id A5B5FC21EA7; Sun, 10 Sep 2017 11:25:44 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 314B8C21F0B; Sun, 10 Sep 2017 11:24:01 +0000 (UTC) Received: from mail-qk0-f193.google.com (mail-qk0-f193.google.com [209.85.220.193]) by lists.denx.de (Postfix) with ESMTPS id 3FDAFC21E99 for ; Sun, 10 Sep 2017 11:23:52 +0000 (UTC) Received: by mail-qk0-f193.google.com with SMTP id o77so3977747qke.2 for ; Sun, 10 Sep 2017 04:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aVs62jdusCV4U13TNa5Z8JR5qecfUqasBVP2m7gcUPM=; b=rhJlTUUc/92H6MYqFK0fIFG2Mshp8B0U/RfMDuXYCEgzS67FOXu1oX85SOio5jjmpi dpEHzre+xqDfcaOwxLvP8wFDpTBSLJkRv/35rFdiX6ENbrT8pgAxSUqNFUBWvTk/Z5yG vRbkeXsWqofaBBuRYZaGX9D5/7yQjK9UBfDSGnfi9H/HRg9jYFAERLL4gtN/i8xvB08/ 8Uep9WRMGCpX80ylm+171R6B9kG4abcOHQw8DbWnUXu4gcuP3Enc2NMofw+/AkV/Yqa7 YHqBD3HwPth9bXkmO0pgLjir8QLxFIdJB4mhKcb3JSMA5PiDdKJrjGU5ncUPIVdlNkR0 PlFQ== 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:in-reply-to :references; bh=aVs62jdusCV4U13TNa5Z8JR5qecfUqasBVP2m7gcUPM=; b=tKImFhrGoz4V15x31imJsBi1dvO+WX/FuKwMjn8z5Y6IfBwe/XlPWqr352F9816zN1 sDgz+Q6lPb429askD6/kTEEnnMIx8BlG52Vydt8U1ZOkLG9NF6Q3E0vERaHJXUqul/VT WBxIq6Q8tVYlHlVgUpxVMSh3ZauVbZkI/tayA60bAMPY4So+FMlptFiQBMYme9ecGre7 CIofhSFyGHPmts/bj1Lcm4mStrAiqo8bmyLhAUNE9ldHZ4Pw3IECNUYqb2SGMSvFvRey TToANId0gW+TTa/IU4EuK7ZKXXVOkClPO1SacgrgwMMTUy7duq/bJAItxkjNBp0ZqRrV srNw== X-Gm-Message-State: AHPjjUhvzqItr2/aFs5mXCRMjR1lc+bhwqaWuxpapsC0RTmAqsIEc4a7 shClu4BhTmCoWLVS6yQ= X-Google-Smtp-Source: AOwi7QA+0eSDBGe9CFpUMDuXbeFYqgiw82VIB/CN8C5u8mhjKIyyrQsjBP0w13rNBi31ZUbsvWXZcA== X-Received: by 10.233.230.1 with SMTP id z1mr10607588qkf.198.1505042631036; Sun, 10 Sep 2017 04:23:51 -0700 (PDT) Received: from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a]) by smtp.gmail.com with ESMTPSA id e18sm4452286qtc.59.2017.09.10.04.23.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 10 Sep 2017 04:23:49 -0700 (PDT) From: Rob Clark To: U-Boot Mailing List Date: Sun, 10 Sep 2017 07:21:42 -0400 Message-Id: <20170910112149.21358-26-robdclark@gmail.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170910112149.21358-1-robdclark@gmail.com> References: <20170910112149.21358-1-robdclark@gmail.com> Cc: Heinrich Schuchardt , Peter Jones Subject: [U-Boot] [PATCH v2 16/21] efi_loader: file_path should be variable length X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" After "efi_loader: refactor boot device and loaded_image handling" we can drop this hack. Signed-off-by: Rob Clark --- include/efi_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/efi_api.h b/include/efi_api.h index d0aefa8221..604c5b7ec4 100644 --- a/include/efi_api.h +++ b/include/efi_api.h @@ -373,7 +373,7 @@ struct efi_device_path_cdrom_path { struct efi_device_path_file_path { struct efi_device_path dp; - u16 str[32]; + u16 str[]; } __packed; #define BLOCK_IO_GUID \