diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2020-08-12 15:46:30 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-08-19 02:09:02 +0000 |
commit | 053592bd3d5fcb79b8fa3a6f6193ffedfc041dba (patch) | |
tree | 6088a6910490013226292fdb570f0dcd992d8739 /firmware/2lib/2ui_screens.c | |
parent | faf9cd3bbbc133487c272d81771b8bbf4d439915 (diff) | |
download | vboot-053592bd3d5fcb79b8fa3a6f6193ffedfc041dba.tar.gz |
inclusive: change usage of sanity
Google is working to change its source code to use more inclusive
language. To that end, replace the term "sanity" with inclusive
alternatives.
BUG=b:163883397
BRANCH=None
TEST=grep -ir sanity
TEST=make runtests
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Change-Id: I708a044d89050c442f14fb11a8ae5e98490d56af
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2353420
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'firmware/2lib/2ui_screens.c')
-rw-r--r-- | firmware/2lib/2ui_screens.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/2lib/2ui_screens.c b/firmware/2lib/2ui_screens.c index 04f037bd..e8f59164 100644 --- a/firmware/2lib/2ui_screens.c +++ b/firmware/2lib/2ui_screens.c @@ -415,11 +415,11 @@ static vb2_error_t recovery_to_dev_finalize(struct vb2_ui_context *ui) { VB2_DEBUG("Physical presence confirmed!\n"); - /* Sanity check, should never happen. */ + /* Validity check, should never happen. */ if (ui->state->screen->id != VB2_SCREEN_RECOVERY_TO_DEV || (vb2_get_sd(ui->ctx)->flags & VB2_SD_FLAG_DEV_MODE_ENABLED) || !vb2_allow_recovery(ui->ctx)) { - VB2_DEBUG("ERROR: Dev transition sanity check failed\n"); + VB2_DEBUG("ERROR: Dev transition validity check failed\n"); return VB2_REQUEST_UI_CONTINUE; } @@ -630,7 +630,7 @@ vb2_error_t vb2_ui_developer_mode_boot_external_action( { vb2_error_t rv; - /* Sanity check, should never happen. */ + /* Validity check, should never happen. */ if (!(ui->ctx->flags & VB2_CONTEXT_DEVELOPER_MODE) || !vb2_dev_boot_allowed(ui->ctx) || !vb2_dev_boot_external_allowed(ui->ctx)) { |