diff options
author | 2018-05-04 08:00:02 +0200 | |
---|---|---|
committer | 2018-05-14 08:57:49 +0200 | |
commit | 83f0a7c7b265a56d757f7e3a80622e5b0b7ebc46 (patch) | |
tree | 7d9ee539b0ee06111a212f952f94018f04312a59 /net/vmw_vsock | |
parent | efi/x86: Ignore unrealistically large option ROMs (diff) | |
download | linux-83f0a7c7b265a56d757f7e3a80622e5b0b7ebc46.tar.gz linux-83f0a7c7b265a56d757f7e3a80622e5b0b7ebc46.tar.bz2 linux-83f0a7c7b265a56d757f7e3a80622e5b0b7ebc46.zip |
efi/capsule-loader: Don't output reset log when reset flags are not set
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>
Diffstat (limited to 'net/vmw_vsock')
0 files changed, 0 insertions, 0 deletions