Jan Kiszka fb153dc53f efi/capsule: Fix return code on failing kmap/vmap
If kmap or vmap fail, it means we ran out of memory. There are no
user-provided addressed involved that would justify EFAULT.

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-3-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-06-05 17:50:37 +02:00
..
2017-05-09 10:01:15 -07:00
2017-06-03 00:01:45 +02:00
2017-06-02 11:32:38 -07:00
2017-05-04 19:15:35 -07:00
2017-05-05 19:33:07 -07:00
2017-04-27 11:54:49 +01:00
2017-05-28 10:22:42 -07:00
2017-05-09 10:01:15 -07:00
2017-05-24 08:21:56 -07:00
2017-05-04 19:15:35 -07:00
2017-05-04 19:15:35 -07:00
2017-05-09 10:01:15 -07:00
2017-06-04 11:15:43 -07:00
2017-05-18 23:54:47 -07:00
2017-06-04 10:23:25 +02:00
2017-05-19 10:10:07 +02:00
2017-05-05 11:36:44 -07:00
2017-05-11 11:12:26 -07:00