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 D85E442B2C; Wed, 17 May 2023 18:18:06 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 79BBA42F88; Wed, 17 May 2023 18:16:35 +0200 (CEST) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mails.dpdk.org (Postfix) with ESMTP id 79CC542DA0 for ; Wed, 17 May 2023 18:16:28 +0200 (CEST) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6439df6c268so704346b3a.0 for ; Wed, 17 May 2023 09:16:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1684340187; x=1686932187; 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=LZ9IZEcB2GRnYJot0fxPSEugWYaAM5956+DdRj4vDE0MormxV/ePNVmYp53dQQ+1K7 9O/xn6wBSY//S2lOTJYx247NAx4QnrjmUModJ+/gmaC1AdK9dNERhwBoaL4HHs0XDLFr QEmTRaa9nsUCjbRLAhWckAkZEn0jwdAdZskgXGvoG9jWk+JC2tTsvL9uoK6K+whbRDKY p3yN+bL5GGqQbnHYmivgV4yF1LKbALgQSZua6XLHM2IW5twYmgOjyTguGmFMqb4WV+8U 9wXtlVu/Zh/AzFLq2DibJzADeplH0/zQyQs91NUXmcdwukyAXCqmk0vu8cZXlG8vyIMT MyGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684340187; x=1686932187; 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=YQC5aky0Cua7gbQUeJ+FWTZVE4qmotYeLqbpx83hi6GfSzLRQ3FCOOwi95IoCYPqUi QrQNBx/m79n/KDBJg2HuMhUmNOJuynDwf+3wtX8L2Tq3uS8L+QNMGgGZ06xvo3/mkXTR EaWknFfRXWwh2RcneMGYSks8GGcepRyVkuLyf4X50FGIA72TJhXlr3NoNln6W/nGRBOi Gv6khsJB8KcJPeicm1yqucDcUUTAkfsRQJD6OJ+rhdUIRaGahFyZIRNIdnRYwAhMjIBK Z57QYWnzY8TMqB1nueRVnvVtyc0ze5yODIrG50cufz7r3VWr0uZpYfBOjqq0kUyIdqwM vGlA== X-Gm-Message-State: AC+VfDz5sCHjVUkrtwkEoBmVhuS3uCMNzsOjzaZaQNbEWNc8yABgsfMq pqL6/r0MXOMNNnJwQKffV/rxVCmIEZC8oA7avXwq0w== X-Google-Smtp-Source: ACHHUZ61/7ZyFCQpAiw19UEOGVl3f9BRB+mUhsFB3XnbJzuCIw2LeY2HXE70/K5S7J2YzAc6qQBNgA== X-Received: by 2002:a05:6a00:2183:b0:643:9b40:103e with SMTP id h3-20020a056a00218300b006439b40103emr137391pfi.30.1684340187521; Wed, 17 May 2023 09:16:27 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id h5-20020a62b405000000b0063f33e216dasm15793009pfn.96.2023.05.17.09.16.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 09:16:27 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Ajit Khaparde , Raveendra Padasalagi , Vikas Gupta Subject: [PATCH 19/20] crypto/bcmfs: replace term sanity check Date: Wed, 17 May 2023 09:16:02 -0700 Message-Id: <20230517161603.117728-20-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230517161603.117728-1-stephen@networkplumber.org> References: <20230517161603.117728-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