mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 18:41:48 +00:00
83f0a7c7b2
When reset flags in capsule header are not set, it means firmware attempts to immediately process or launch the capsule. Moreover, reset is not needed in this case. The current code will output log to indicate reset. This patch adds a branch to avoid reset log output when the flags are not set. [ardb: use braces in multi-line 'if', clarify comment and commit log] Signed-off-by: Shunyong Yang <shunyong.yang@hxt-semitech.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Joey Zheng <yu.zheng@hxt-semitech.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Matt Fleming <matt@codeblueprint.co.uk> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/20180504060003.19618-17-ard.biesheuvel@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org> |
||
---|---|---|
.. | ||
libstub | ||
test | ||
apple-properties.c | ||
arm-init.c | ||
arm-runtime.c | ||
capsule-loader.c | ||
capsule.c | ||
cper-arm.c | ||
cper-x86.c | ||
cper.c | ||
dev-path-parser.c | ||
efi-bgrt.c | ||
efi-pstore.c | ||
efi.c | ||
efibc.c | ||
efivars.c | ||
esrt.c | ||
fake_mem.c | ||
Kconfig | ||
Makefile | ||
memattr.c | ||
memmap.c | ||
reboot.c | ||
runtime-map.c | ||
runtime-wrappers.c | ||
tpm.c | ||
vars.c |