From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 02E6343A3D; Mon, 5 Feb 2024 19:06:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DA79142D87; Mon, 5 Feb 2024 19:04:05 +0100 (CET) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mails.dpdk.org (Postfix) with ESMTP id 563BA427DF for ; Mon, 5 Feb 2024 19:03:59 +0100 (CET) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1d7881b1843so41531965ad.3 for ; Mon, 05 Feb 2024 10:03:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1707156238; x=1707761038; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4TOBL+h2UZrP4REYTyUj9I4YMTvzfdogvnH8ToEgRqY=; b=BENz9UU0kL97qo4AtRnC+Za2F6DkgOY894GJpzXfEWWFhwa9MKNwernVxlLQwLaO1e sKLUdTxAzvJezRsI0Qxo6e1wVd3V8oZAjEx42n33jLx21jabr4fDikFZALrntH9MtAht qfAPSCTCrrSRbctCV5/vlVqSAzqL0073+aTreKVybt1uj6Da0tsPFuZ9b2eBuzo+z7bh S3fAvI29GAbT5BLvNabn5UYRtCu0indLnsB3Ijq8HtfMKGFMKyww5tDHIPklxtDHmMxD YiJ8xA1b1OqpkbQ1KSnnxV0d4W/eMEu1NWRwAmyXakisv7jMUlgDFP8qNFklwrw7lizH w8PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707156238; x=1707761038; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4TOBL+h2UZrP4REYTyUj9I4YMTvzfdogvnH8ToEgRqY=; b=r9mUo4Fp6QusVkN+gR/ONyxo96BCWrRGH7Pci9OSBEc/xt9xwfPR6SQh8EeJ+xCj8o /dzSU99c7tjnD5xRRJrJHnkMh6FIvRimJxnuGFihQlVhcH55vj7txlnHogcmvorgJ4P/ lTVUHENFQWlFkM0zpZvyxZF0Gs1cR/ctDWidjK+wJkAa5GDmFNRr9Jz3qwsk73yTRJ5s DEHWxwXzsDQ13RCMqfp920UIegakT0Yl0KSf+KGTdq6JIDir9oPY/B1vJbBSsj0pDRW9 PS5SjMTIfqwXptO7WsfWpuZgj2x4hLkufuVP77ds/GjUvxYqPiGuebbndyW2VSlAro3J TAyQ== X-Gm-Message-State: AOJu0YyITgheoq8W3JBRm//JWkh1zCT6j6cBKOAn+UAISEZN3vt8PYt5 X3gTl/KmtKMs9j6CHbB9RT5/u5f8Knek6wCmXtN9SjHWbqcgJtjMi6RVzXICSCVLvv8qCwQCSdX cXcM= X-Google-Smtp-Source: AGHT+IGYXR/vtbWk49xjkDMIkstyaC6v4FzTRXOCieucFka6ZIJ7CKBvuObWuEsmCSWn/A1tgyNwDA== X-Received: by 2002:a17:902:da81:b0:1d8:8aba:4b07 with SMTP id j1-20020a170902da8100b001d88aba4b07mr223138plx.60.1707156238140; Mon, 05 Feb 2024 10:03:58 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWpKCsqxwMJnGo7p0zykJ1tSg5t3DYQzDNHuhbc8KSCC727u4yXzf2P9ng8sidYhrEteQWC3riIYj1ukCAfGNpbE8nd1hciVaPi/Q2kV/yBCphUjPic3oTH0Epv7RhLYIDlBjLvzZIMR82fBO/A/kWpflgBI526YnelRX2wvkqvXY/acZYEQBU= Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id x8-20020a170902b40800b001d9b0a15bbfsm144867plr.262.2024.02.05.10.03.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 10:03:57 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Ajit Khaparde , Raveendra Padasalagi , Vikas Gupta Subject: [PATCH v9 22/23] crypto/bcmfs: replace term sanity check Date: Mon, 5 Feb 2024 09:43:50 -0800 Message-ID: <20240205180328.131019-23-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240205180328.131019-1-stephen@networkplumber.org> References: <0230331200824.195294-1-stephen@networkplumber.org> <20240205180328.131019-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Do not use non-inclusive naming here. Signed-off-by: Stephen Hemminger --- drivers/crypto/bcmfs/hw/bcmfs4_rm.c | 6 +++--- drivers/crypto/bcmfs/hw/bcmfs5_rm.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/crypto/bcmfs/hw/bcmfs4_rm.c b/drivers/crypto/bcmfs/hw/bcmfs4_rm.c index 9a30c654dab8..051bbea9cc81 100644 --- a/drivers/crypto/bcmfs/hw/bcmfs4_rm.c +++ b/drivers/crypto/bcmfs/hw/bcmfs4_rm.c @@ -317,7 +317,7 @@ bcmfs4_mdst_desc(uint64_t addr, unsigned int length_div_16) } static bool -bcmfs4_sanity_check(struct bcmfs_qp_message *msg) +bcmfs4_message_check(struct bcmfs_qp_message *msg) { unsigned int i = 0; @@ -458,8 +458,8 @@ bcmfs4_enqueue_single_request_qp(struct bcmfs_qp *qp, void *op) struct bcmfs_queue *txq = &qp->tx_q; struct bcmfs_qp_message *msg = (struct bcmfs_qp_message *)op; - /* Do sanity check on message */ - if (!bcmfs4_sanity_check(msg)) { + /* Do check on message */ + if (!bcmfs4_message_check(msg)) { BCMFS_DP_LOG(ERR, "Invalid msg on queue %d", qp->qpair_id); return -EIO; } diff --git a/drivers/crypto/bcmfs/hw/bcmfs5_rm.c b/drivers/crypto/bcmfs/hw/bcmfs5_rm.c index cbfe42cb4713..2df10a302841 100644 --- a/drivers/crypto/bcmfs/hw/bcmfs5_rm.c +++ b/drivers/crypto/bcmfs/hw/bcmfs5_rm.c @@ -293,7 +293,7 @@ bcmfs5_mdst_desc(uint64_t addr, unsigned int len_div_16) } static bool -bcmfs5_sanity_check(struct bcmfs_qp_message *msg) +bcmfs5_message_check(struct bcmfs_qp_message *msg) { unsigned int i = 0; @@ -389,8 +389,8 @@ bcmfs5_enqueue_single_request_qp(struct bcmfs_qp *qp, void *op) struct bcmfs_queue *txq = &qp->tx_q; struct bcmfs_qp_message *msg = (struct bcmfs_qp_message *)op; - /* Do sanity check on message */ - if (!bcmfs5_sanity_check(msg)) { + /* Do check on message */ + if (!bcmfs5_message_check(msg)) { BCMFS_DP_LOG(ERR, "Invalid msg on queue %d", qp->qpair_id); return -EIO; } -- 2.43.0