From: Mike Waychison Date: Thu, 21 Jul 2011 20:57:59 +0000 (-0400) Subject: efivars: Use string functions in pstore_write X-Git-Tag: v3.1-rc1~94^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c475594d838c5c872e734f693a700df8c01b39d4;p=pandora-kernel.git 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 Signed-off-by: Tony Luck --- Reading git-diff-tree failed