aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorShunyong Yang <[email protected]>2018-05-04 08:00:02 +0200
committerIngo Molnar <[email protected]>2018-05-14 08:57:49 +0200
commit83f0a7c7b265a56d757f7e3a80622e5b0b7ebc46 (patch)
tree7d9ee539b0ee06111a212f952f94018f04312a59 /lib/test_overflow.c
parent1de3a1be8a9345fd0c7d9bb1009b21afe6b6b10f (diff)
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 <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]> Cc: Joey Zheng <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Matt Fleming <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions