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 CDFEF42B4B; Fri, 19 May 2023 19:48:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4282042F94; Fri, 19 May 2023 19:46:39 +0200 (CEST) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mails.dpdk.org (Postfix) with ESMTP id 5AAD542DB5 for ; Fri, 19 May 2023 19:46:35 +0200 (CEST) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-64d24136663so1444843b3a.0 for ; Fri, 19 May 2023 10:46:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1684518394; x=1687110394; 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=zrRp/AImZccHk5lsNNdT29Q4RKnZmUNyBY+dqWR33GD9uvoJwYVMEcUmvx8Zpmvw4i oi9rYGi1VyOOOI/dWYLvur3vI2aLGqJP8h2MztRm2lGZWxmeBAio0YLJV2aBg2EmuQtK EoXyIWS5qLcWWqHcxrF9occfctDYrdBpTSxCAWwuRhBg70bjywjiSnlZpXpigch/dVGq 7D7q32R0myzUX3ATIftPuemLtxLxPdryEqYiH0LrdOTfCsXzTECtJd+CVz7pHMFEaVDl 3GqDR5Q2ufNP6vDcNKt1zQn6VFfME6unudh1o4l5m0/gjKYVRl2dWOvVt5NUaBBQ5mQ+ o+OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684518394; x=1687110394; 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=CCw5n9PySEF5vPrmqckChR2Bu3U47kjJyDLhhD511RHzo/JptRPt9/ZRCh3Crz8oXL qwwfsmrKw7ZFo9ArSzb3ultnovjapdE6KMicjDRTZikHJArS/hfCQbe7sqKQ6n4w2Qik 4Ve0sJWikJh3Ds8K2+OD4QYLGem7V13/iSbM1wIvVun5+x5n53aievAPZVZjlifM8bqz 00g2YW+e2l55KxfYjb9/hV77Ht1nAvQkGD6ZjVKnLyQiaa7HC+zgbnVAEURh4LOjdUbW hwftpRP1x8Z44RnZ+VwNhyzB5swbQJs88BaoGtMXGmwf4ZRfj46iP4LEApH5ZqcpH69N JyfA== X-Gm-Message-State: AC+VfDwJPFkknsv9EDOapPBKvG7pLIlhuvGVIrgHIGAlfw65Y6y23o3Y kVH9KoFGzfMyeYDwZYtHSYwC6HGn+9cSIXiTtCF6MQ== X-Google-Smtp-Source: ACHHUZ4hmY14MoOsXkfRPy7NaBwQsE5BfrJQ7iGsBfVQG208WZLzjhV5jZimgHwstwg41tWg+88ZjA== X-Received: by 2002:a17:902:7d8d:b0:1a6:dba5:2e60 with SMTP id a13-20020a1709027d8d00b001a6dba52e60mr3205286plm.25.1684518394611; Fri, 19 May 2023 10:46:34 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id e3-20020a170902744300b001aaf2e7b06csm3713101plt.132.2023.05.19.10.46.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 10:46:34 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Ajit Khaparde , Raveendra Padasalagi , Vikas Gupta Subject: [PATCH v3 18/19] crypto/bcmfs: replace term sanity check Date: Fri, 19 May 2023 10:46:10 -0700 Message-Id: <20230519174611.11232-19-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230519174611.11232-1-stephen@networkplumber.org> References: <20230517161603.117728-1-stephen@networkplumber.org> <20230519174611.11232-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