[PATCH v3 1/4] efi_loader: treat UEFI variable name as const

2021-10-03 Thread Heinrich Schuchardt
UEFI variable names are typically constants and hence should be defined as const. Unfortunately some of our API functions do not define the parameters for UEFI variable names as const. This requires unnecessary conversions. Adjust parameters of several internal functions to tre UEFI variable names

Re: [PATCH v3 1/4] efi_loader: treat UEFI variable name as const

2021-10-05 Thread Ilias Apalodimas
On Sun, Oct 03, 2021 at 11:23:17AM +0200, Heinrich Schuchardt wrote: > UEFI variable names are typically constants and hence should be defined as > const. Unfortunately some of our API functions do not define the parameters > for UEFI variable names as const. This requires unnecessary conversions.