aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorMike Waychison <[email protected]>2011-07-21 20:57:59 +0000
committerTony Luck <[email protected]>2011-07-22 23:15:40 +0000
commitc475594d838c5c872e734f693a700df8c01b39d4 (patch)
treead36a818fd7294ecac5eafda9b78ebb67209a1b1 /lib/fault-inject.c
parentefivars: introduce utf16_strncmp (diff)
downloadkernel-c475594d838c5c872e734f693a700df8c01b39d4.tar.gz
kernel-c475594d838c5c872e734f693a700df8c01b39d4.zip
efivars: Use string functions in pstore_write
Instead of open-coding the string operations for comparing the prefix of the variable names, use the provided utf16_* string functions. This patch also changes the calls to efi.set_variable to efivars->ops->set_variable so that the right function gets called in the case of gsmi (which doesn't have a valid efi structure). As well, make sure that we only consider variables with the right vendor string. Signed-off-by: Mike Waychison <[email protected]> Signed-off-by: Tony Luck <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions