summaryrefslogtreecommitdiff
path: root/drivers/power/act8945a_charger.c
diff options
context:
space:
mode:
authorLinn Crosetto <linn@hpe.com>2016-04-25 23:06:36 +0300
committerIngo Molnar <mingo@kernel.org>2016-04-28 12:33:48 +0300
commit73a6492589c87cd56707c8ac19eec78236c2d576 (patch)
treec7e87b542e6d1c0f8c26f99ae34eef58007666ba /drivers/power/act8945a_charger.c
parent7fc8442f2a8a77f40565b42c41e4f2d48b179a56 (diff)
downloadlinux-73a6492589c87cd56707c8ac19eec78236c2d576.tar.xz
efi/arm64: Report unexpected errors when determining Secure Boot status
Certain code in the boot path may require the ability to determine whether UEFI Secure Boot is definitely enabled, for example printing status to the console. Other code may need to know when UEFI Secure Boot is definitely disabled, for example restricting use of kernel parameters. If an unexpected error is returned from GetVariable() when querying the status of UEFI Secure Boot, return an error to the caller. This allows the caller to determine the definite state, and to take appropriate action if an expected error is returned. Signed-off-by: Linn Crosetto <linn@hpe.com> Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Roy Franz <roy.franz@linaro.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/1461614832-17633-5-git-send-email-matt@codeblueprint.co.uk Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/power/act8945a_charger.c')
0 files changed, 0 insertions, 0 deletions