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 0A4F842FBA; Thu, 3 Aug 2023 01:27:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F1233432B5; Thu, 3 Aug 2023 01:26:22 +0200 (CEST) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id 9C3A44327B for ; Thu, 3 Aug 2023 01:26:18 +0200 (CEST) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1bbd2761f1bso3724125ad.2 for ; Wed, 02 Aug 2023 16:26:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691018777; x=1691623577; 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=LxzT9pcS2TIadBmydARU51qMd24x443LnMB3XwETqlePdOJBIARhdVD0P7e76OhSt4 4Nz+2AuzWCN2TCZLswR6xkzegk1RiJ1Lj6K0SUEQ0myFrtOIuQYF5k01zBBXBAMrOlza ZADqZ8+BMkmG4Jcq0zYhH7oSSFS0l48phL8tWqEsbW2cbrcEDbwkNXQ7vsW3xaOLl5I+ LI17FjqzOfmGHsyXTBbAToq7g8M4cLgyt6aeuMqOfhMcItzm4vdAJ/UO83ZHNH6sD9c0 3alxJwO2wDzWfxK+a+D1UP3bvDHZEGX5WsdTJR+UfB/+Mf0uJeLDqOJrbVkW4Rdwp/vS Sc2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691018777; x=1691623577; 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=W/wF4m+axFqiq2xUf+eepP55k6tDIBREEkpwXRkbqP8qvjM3ID3f3N9ZimERFYhgKk zAfpmWl7UAy23HrXUmW0pIgYz9HKVue5nRWu53gVo0nnJQdI0WM2b0Dbgu3tyYRPqtAp 14dotCfwvBGXn1/36zK/17aez85RvyvA/3NYhId/T7faba9MFjHOEtAPSYN4eJQpbOrV 2aLi9iWxw3ymXW7AFwhoI05v+/rBr4av63WhM86Er1+b2XndMF7loqMqai7e/SyA+7Qa oXB8NZuXtwhlk2aEOWvlVatP1wsc5o2oY6sYYJGfBRf1DF82f9sVL0yTNnEFewvRfZmG zEwg== X-Gm-Message-State: ABy/qLYCYsyjiqbsDC/onZ7YWNn6ELj7JOCqFjFymgUIBEK+qxV5t9BV 9Mb7FfoQBREgKZVX+V2EH5iEsAECLNogNPOPlrBTkw== X-Google-Smtp-Source: APBJJlGv7V5LC74TLTLCdGrhTmpG6X5ZWEspj8daPybBn0sc5J7ym26xZJWYg+9xUPO3jZ7KPVTNTQ== X-Received: by 2002:a17:902:c255:b0:1bb:a522:909a with SMTP id 21-20020a170902c25500b001bba522909amr17637893plg.37.1691018777699; Wed, 02 Aug 2023 16:26:17 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id jd20-20020a170903261400b001b8b0ac2258sm12960870plb.174.2023.08.02.16.26.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Aug 2023 16:26:17 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Ajit Khaparde , Raveendra Padasalagi , Vikas Gupta Subject: [PATCH v4 18/19] crypto/bcmfs: replace term sanity check Date: Wed, 2 Aug 2023 16:25:49 -0700 Message-Id: <20230802232550.125487-19-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230802232550.125487-1-stephen@networkplumber.org> References: <20230517161603.117728-1-stephen@networkplumber.org> <20230802232550.125487-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