Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx> wrote: > > What I've changed the ARM and ARM64 things to is: > > > > #define efi_call_runtime(f, ...) ((efi_##f##_t *)sys_table_arg->runtime->f)(__VA_ARGS__) > > > > Could we please instead fix the definition of efi_runtime_services_t, > given that we have typedefs already for all its members? Okay, I've pulled in your patch and removed the cast. I would like to provide wrapper static inlines for things like efi_get_variable() to get the parameter checking, but the sys_table_arg behind-the-scenes parameter is tricky to deal with in that case. David -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html