[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] efi: Allow expression as func argument to efi_call_* macros
From: |
Daniel Kiper |
Subject: |
Re: [PATCH] efi: Allow expression as func argument to efi_call_* macros on all platforms |
Date: |
Thu, 23 Feb 2023 15:14:19 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Tue, Feb 21, 2023 at 12:20:32PM -0600, Glenn Washburn wrote:
> On EFI platforms where EFI calls do not require a wrapper (notably i386-efi
> and arm64-efi), the func argument needs to be wrapped in parenthesis to
> allow valid syntax when func is an expression which evaluates to a function
> pointer. On EFI platforms that do need a wrapper, this was never an issue
> because func is passed to the C function wrapper as an argument and thus
> does not need parenthesis to be evaluated.
>
> Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Daniel