]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
efivars: Stop passing a struct argument to efivar_validate()
authorMatt Fleming <matt.fleming@intel.com>
Mon, 17 Mar 2014 10:57:00 +0000 (10:57 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 17 Apr 2014 12:53:43 +0000 (13:53 +0100)
commita5d92ad32dad94fd8f3f61778561d532bb3a2f77
tree16c7c63f80dedd7996d0efb341aa34ba8b295993
parente003bbee2a6a19a4c733335989284caf1b179e0d
efivars: Stop passing a struct argument to efivar_validate()

In preparation for compat support, we can't assume that user variable
object is represented by a 'struct efi_variable'. Convert the validation
functions to take the variable name as an argument, which is the only
piece of the struct that was ever used anyway.

Cc: Mike Waychison <mikew@google.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
drivers/firmware/efi/efivars.c
drivers/firmware/efi/vars.c
include/linux/efi.h