efi_loader: efi_set_variable use const void *
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 30 Dec 2018 20:03:15 +0000 (21:03 +0100)
committerAlexander Graf <agraf@suse.de>
Wed, 13 Feb 2019 08:40:05 +0000 (09:40 +0100)
commit452257a34a2e8d06af37ad30c7dd742920ff6dc5
tree6af88c2b7157b66216bc2248e43a62c095a17dbe
parent0bda81bfdc5c67341e51c2b412a2271099861e6e
efi_loader: efi_set_variable use const void *

The SetVariable() runtime service does not change the data passed to it.
So mark the parameter as constant.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_api.h
include/efi_loader.h
lib/efi_loader/efi_variable.c