]> Git Repo - linux.git/commit - include/linux/efi.h
efi: Use typed function pointers for the runtime services table
authorArd Biesheuvel <[email protected]>
Tue, 31 Jan 2017 13:21:39 +0000 (13:21 +0000)
committerIngo Molnar <[email protected]>
Wed, 1 Feb 2017 07:45:45 +0000 (08:45 +0100)
commitc4c39c70c5fef43655019236bec8ba5e7273b868
treecb3c392e9c0dbd4454ec0a4b52095788921b0e5c
parente66880808960322d8126f878d7fe315a3f1ada74
efi: Use typed function pointers for the runtime services table

Instead of using void pointers, and casting them to correctly typed
function pointers upon use, declare the runtime services pointers
as function pointers using their respective prototypes, for which
typedefs are already available.

Signed-off-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Matt Fleming <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
include/linux/efi.h
This page took 0.043164 seconds and 4 git commands to generate.