]> git.baikalelectronics.ru Git - kernel.git/commit
efivars: Call guid_parse() against guid_t type of variable
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 20 Jul 2018 01:47:26 +0000 (10:47 +0900)
committerIngo Molnar <mingo@kernel.org>
Sun, 22 Jul 2018 12:13:44 +0000 (14:13 +0200)
commiteca1e110ccd8751f80a4c4e27eb0f4a347e58b87
tree82733867ac768603e8b383d1fc39d6c115222f5d
parentaf1a7383b5b7b920ca3ee506810a6b75475d5dd6
efivars: Call guid_parse() against guid_t type of variable

uuid_le_to_bin() is deprecated API and take into consideration that variable,
to where we store parsed data, is type of guid_t we switch to guid_parse()
for sake of consistency.

While here, add error checking to it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Lukas Wunner <lukas@wunner.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20180720014726.24031-10-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
fs/efivarfs/inode.c