diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-10-18 15:33:18 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-10-18 17:11:20 +0200 |
commit | a75dcb5848359f488c32c0aef8711d9bd37a77b8 (patch) | |
tree | f2a640b7d9ab236612e19ab90ec481c5e1723dfc /drivers/net | |
parent | 753375a881caa01112b7cec2c796749154e0bb23 (diff) | |
download | linux-a75dcb5848359f488c32c0aef8711d9bd37a77b8.tar.gz |
efi/efivar_ssdt_load: Don't return success on allocation failure
We should return -ENOMEM here, instead of success.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
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
Fixes: 475fb4e8b2f4 ("efi / ACPI: load SSTDs from EFI variables")
Link: http://lkml.kernel.org/r/20161018143318.15673-9-matt@codeblueprint.co.uk
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions