efi/capsule: Adjust return type of efi_capsule_setup_info()
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 2 Jun 2017 13:51:59 +0000 (13:51 +0000)
committerIngo Molnar <mingo@kernel.org>
Mon, 5 Jun 2017 15:50:39 +0000 (17:50 +0200)
commit41b0c376951417d1b37448957b30f766b10d3090
treee3461e65be2f4fc1411808d7dc91a28a00d594bc
parent5dce14b9d1a29cf76331f0fe8eb7efd63e0fcb9a
efi/capsule: Adjust return type of efi_capsule_setup_info()

We actually expect int at the caller and never return any size
information.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20170602135207.21708-6-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/firmware/efi/capsule-loader.c