efi/capsule: Remove pr_debug() on ENOMEM or EFAULT
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 2 Jun 2017 13:51:57 +0000 (13:51 +0000)
committerIngo Molnar <mingo@kernel.org>
Mon, 5 Jun 2017 15:50:38 +0000 (17:50 +0200)
commit7367633f0bfd783ae5838141f3af88bba6c45eb9
tree3d67ccf6c70fc125ba2f0543df7775083aebdc8c
parentfb153dc53f0eb8e8ad6a69f773e44c2d12daa5d0
efi/capsule: Remove pr_debug() on ENOMEM or EFAULT

Both cases are not worth a debug log message - the error code is telling
enough.

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-4-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/firmware/efi/capsule-loader.c