diff options
author | Paul Fagerburg <pfagerburg@google.com> | 2020-07-21 13:12:02 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-07-22 22:49:46 +0000 |
commit | 514923bc59f5a3435dbb7cbf348735ed41889ffe (patch) | |
tree | 15efb9db43b84f903e1915a78162e020808fec09 /common/vboot_hash.c | |
parent | b93f139e47f8ced7ebe2414737296f9a6ba49cbc (diff) | |
download | chrome-ec-514923bc59f5a3435dbb7cbf348735ed41889ffe.tar.gz |
ec: change usage of "sane" per inclusive language
Google is working to change its source code to use more inclusive
language. To that end, replace the terms "sane", "sanity check", and
similar with inclusive/non-stigmatizing alternatives.
BUG=b:161832469
BRANCH=None
TEST=`make buildall -j` succeeds. `grep -Eir "sane|sanity" .` shows
results only in third-party code or documentation.
Signed-off-by: Paul Fagerburg <pfagerburg@chromium.org>
Change-Id: I29e78ab27f84f17b1ded75cfa10868fa4e5ae88c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2311169
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'common/vboot_hash.c')
-rw-r--r-- | common/vboot_hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/vboot_hash.c b/common/vboot_hash.c index 10de58fcac..a08c707630 100644 --- a/common/vboot_hash.c +++ b/common/vboot_hash.c @@ -453,7 +453,7 @@ static void fill_response(struct ec_response_vboot_hash *r, } /** - * Start computing a hash, with sanity checking on params. + * Start computing a hash, with validity checking on params. * * @return EC_RES_SUCCESS if success, or other result code on error. */ @@ -463,7 +463,7 @@ static int host_start_hash(const struct ec_params_vboot_hash *p) int size = p->size; int rv; - /* Sanity-check input params */ + /* Validity-check input params */ if (p->hash_type != EC_VBOOT_HASH_TYPE_SHA256) return EC_RES_INVALID_PARAM; if (p->nonce_size > sizeof(p->nonce_data)) |