From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 31 Aug 2017 20:51:58 +0800 Subject: [U-Boot] [PATCH 14/23] efi_loader: pass GUIDs as const efi_guid_t * In-Reply-To: <20170826225328.7550-5-xypron.glpk@gmx.de> References: <20170826225110.7381-1-xypron.glpk@gmx.de> <20170826225328.7550-1-xypron.glpk@gmx.de> <20170826225328.7550-5-xypron.glpk@gmx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 27 August 2017 at 06:53, Heinrich Schuchardt wrote: > We need to call some boottime services internally. > Our GUIDs are stored as const efi_guid_t *. > > The boottime services never change GUIDs. > So we can define the parameters as const efi_guid_t *. > > Signed-off-by: Heinrich Schuchardt > --- > include/efi_api.h | 44 +++++++++++++++++++++---------------------- > include/efi_loader.h | 4 ++-- > lib/efi_loader/efi_boottime.c | 37 ++++++++++++++++++------------------ > 3 files changed, 43 insertions(+), 42 deletions(-) Reviewed-by: Simon Glass Good.