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 1EDC044107; Thu, 30 May 2024 01:40:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0F45B410E4; Thu, 30 May 2024 01:39:29 +0200 (CEST) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mails.dpdk.org (Postfix) with ESMTP id 8355B40289 for ; Thu, 30 May 2024 01:38:29 +0200 (CEST) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6f8ea3e9543so259412b3a.2 for ; Wed, 29 May 2024 16:38:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1717025909; x=1717630709; 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=Aek5gyQ2NOSqyZ8DWlL/4XfFOXERV7YZNOjg+oGrfKw=; b=HEPe+OuU+Kx0CcFcVG1AQQLPDsRA4uLoAtZuQAu7CVQFntd09i3+NBSLTniQZd6xVg GgPqs7lSMn+Fzr6r4ohvKfTL4BTHeC1cIgIygsoSyR83K8YTlibxOXjg42qyVs2Om6bL KtBH+zroCC5EI0biwd75yZXh9NXMn+dV+JW8Y1uY5n//aeKwMhOGTd1kZfiQucvbzVOe LccCFjTGeps1xeLV0BG2zaPS71wUC7Sr07PDaA8jaWvBVbPo725VW+OUSO9EdBIAhh0E jPZ+MSeasbfyg+rpo5TGjfJkxRjo4SAoRlK1mJu8td5dSCb3qglsNhA1YoHgdpHmwqnz dsNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717025909; x=1717630709; 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=Aek5gyQ2NOSqyZ8DWlL/4XfFOXERV7YZNOjg+oGrfKw=; b=k7NXHtSz/PS/iokhIgempEI0fIhQ6opo3spuVUgJ9hsekXISdCRnlZC69LOSQA1x8p EbF0G/ETOeX/+0luDXwOom1/cjmnWJafq6vvIe7DbkjyDlLOfWQ1gL0R3wumKPJRuW6p Eked0E6mTQP1Wxl2eaCxSK6jMUmp8Pc1j5pRw9UpSvSsnwW1nskvQ51IhTAFLnGXBWx5 Btqb5TizlNiS2dY/f+ApNpajy4YEaKI9I4VrU8Sn0d8AgBRyaUITnM+vwZ0WJQkPrqTa uzfc+G+1WHER2Ep70ZTBn834oewzdTyX+VqfJ87Uo0ke66eKUDm+V4im+WlRdUrwJEAY joqQ== X-Gm-Message-State: AOJu0YxKyZIZbftvRf1yyEwPrK23ZCfg2o1+dBNJ5QfRcrk6F/lORRIu sUt3dlKHizUaYT7VkRPEDnxdMfa6h18CCiVbje7Oh+2teHOKEAp7IaaWOckWFanFUtGyE0Jrzl/ z X-Google-Smtp-Source: AGHT+IGlXBCy+7UjSkxvifDqAlXko08wdDOHsaLLsYrLwhF/soV+BoqvITQWViyQILZfb+5C+XqRzg== X-Received: by 2002:a05:6a20:2454:b0:1af:a4cb:f6a with SMTP id adf61e73a8af0-1b264570ae5mr514708637.29.1717025908627; Wed, 29 May 2024 16:38:28 -0700 (PDT) Received: from hermes.lan (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c1a7761d78sm353955a91.12.2024.05.29.16.38.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 16:38:28 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v10 19/20] crypto/bcmfs: replace term sanity check Date: Wed, 29 May 2024 16:33:53 -0700 Message-ID: <20240529233811.663211-20-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240529233811.663211-1-stephen@networkplumber.org> References: <20240529233811.663211-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 9a30c654da..051bbea9cc 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 cbfe42cb47..2df10a3028 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