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 7FAF742B34; Thu, 18 May 2023 18:48:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 54B6542FBA; Thu, 18 May 2023 18:46:14 +0200 (CEST) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mails.dpdk.org (Postfix) with ESMTP id 55FB742F94 for ; Thu, 18 May 2023 18:46:11 +0200 (CEST) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-64d247a023aso503004b3a.2 for ; Thu, 18 May 2023 09:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1684428370; x=1687020370; 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=69mHfvs2lidrOAYmWKgl8XU07nB+W9FxVe9ZBT1ukeY=; b=E9DuSiaHzHpRFZkBCUFrtYXyemsXGtYu/X2JBf7WFLDDAOSu3VQeLbiov/jmpsaKAC nOUmvy5zfGSWWcYEUbZbrSnqLzQX65ezI6xdlSD/cfwP1o7gVX7i+L7+RwXiao5tKUx7 nHRjOoI29wPsGcDw18uGUSeBEcVjCTcRcXrYghdLk3UINo0rlYIWTp6m/7ArG+bnZ5L/ Cao3CZPJMMiCCrYdZmaUxEcNo6pHfzvfKp7Nh717I3al9UqWJx54rj6SsKBMr2ocg9Hd 6Dvf3OWxepMAeMzl0nr7WJbOIxnQ7SNKIuWTamu3ocN1YOUWLpmiVhQ3fcuFh29JlUHQ BIFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684428370; x=1687020370; 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=69mHfvs2lidrOAYmWKgl8XU07nB+W9FxVe9ZBT1ukeY=; b=gSNIGyCPsLGaGJr/mAUQ8y5H59pEfSo60LaL36UZU8V3VEifoFmTsAGAvBucInYFWv 9zgM89BOzbDNsSEDbkdwbOWF6mlnyFhvIBJdTKtgJB7ln/1plA0Ae5bO4Thys7eFkVVt UywrscZBACJ3vLUfLCKjj6CaMuPoEadheCoR65SmLg5CBGi8KoNBVbzOef+Aq3B4+KGy q1OFQ7W3Eg8i21MMi7y7WDUfLJSllVPC0k3zfbHS6G6ijM/aYLYf77OSnAWig7L6SG2b 0qUgdz7UjcOKstIt7jMxuJ0sCOLlw+loRy9ohQimktCvv1wPMf6Im81v6nmUYPmUSuda dfKA== X-Gm-Message-State: AC+VfDwHt9GDa1ubhDoFvcaY2nrXFDzgTF69i26mDt0XmM819bI10rPH gVx9hx3mSwfCd6yxhz5nGuEMAbPYCyoa2+bUv1hzombx X-Google-Smtp-Source: ACHHUZ6+E6lUIqCGV3ihhl+uZvoBqDT0xeobp1//joVwdiLyB4jhlROGdLba6NNQKuyycFp0ikGF2g== X-Received: by 2002:a05:6a21:3393:b0:104:ad71:f080 with SMTP id yy19-20020a056a21339300b00104ad71f080mr373258pzb.34.1684428370394; Thu, 18 May 2023 09:46:10 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id j7-20020a62e907000000b005e0699464e3sm1513579pfh.206.2023.05.18.09.46.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 May 2023 09:46:10 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Ajit Khaparde , Raveendra Padasalagi , Vikas Gupta Subject: [PATCH v2 18/19] crypto/bcmfs: replace term sanity check Date: Thu, 18 May 2023 09:45:45 -0700 Message-Id: <20230518164546.108105-19-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230518164546.108105-1-stephen@networkplumber.org> References: <20230517161603.117728-1-stephen@networkplumber.org> <20230518164546.108105-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 0ccb111898e4..50280fe14176 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 c677c0cd9b52..c45eea82de20 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.39.2