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 7337C43403; Wed, 29 Nov 2023 18:33:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5176E42EBE; Wed, 29 Nov 2023 18:32:02 +0100 (CET) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mails.dpdk.org (Postfix) with ESMTP id 4015E42EA1 for ; Wed, 29 Nov 2023 18:31:55 +0100 (CET) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-6cdd9c53282so570457b3a.3 for ; Wed, 29 Nov 2023 09:31:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1701279114; x=1701883914; 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=1GzHnmFG3wRrq+VIHCEAA1OkREheRL5Hz3Zzi1g3aUc=; b=fpRrLI2FeEw/47ZunzwXFJyXLhzQy4W8iY3tEEC7fKsr0JbDlJYHhurtK4qunfvX+4 THUKazTfXwSqoI0S9m/AipOoA/i0pIhUNjm5sYwQYLcKc+9tCM/DcxMTFe8tdwHRZYR2 WFZuu7doIDOM2B/EjWwIsj4eZmYtz9stibG+6KHzEx/nq5v1mlbEzJgHcDCyDEFhXEkX fK+W/OkuTkHbhZ2bHbU9QAQHoiG3SsztcTIEUF8wTMaZTVE9/EDAQXE4O1nxGiHQy5X2 wbTsY53ni0BUD1eRRLQyBRZV+v8Aur7wLYvYmxRxcqZqJZwek35ruXrNa4SGdoE53R60 rj8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701279114; x=1701883914; 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=1GzHnmFG3wRrq+VIHCEAA1OkREheRL5Hz3Zzi1g3aUc=; b=gHjhgBTb0FK2v0y3hc/p9RzbN8H1ucDLpFVQ3BqjuDCz0PUeX3bzMTUOvovaYY9V0N dQ2a7l5VtdhyiLl9/GJM6A0TzMvbXxUGUgQPTobABHDl9DEBtpUkzzgN3cdGJ/I+VwHA XPFwJ9qI9rtH0jcL9E2oWf8lD4ECBqg4zYzwfRf79Kr8t8Ofan7GIzCWZsDVfI57wmvN ia2Lk03wlli9cmcooq61SsLF1hj7QmF01+6MN5ZL248Ub54MJ7UedQwLRmL2AlE32qxk AEs+h7NPIjTPrHBVu9WbF4gCFtsS9n+uwX5PaeohyTJk3oODNwc+MrlmbV77Kb4VDg7g iF/A== X-Gm-Message-State: AOJu0YyjFHaoXvVkOYPxtTytO/bAKGsaMbtiFpuU/AILlk/s/AtgaJpk rkT/QW3cupboACbhM3rLcQPGQSyBmq8jbFmYyhgjnQ== X-Google-Smtp-Source: AGHT+IE+1znz4pdb8nFA81LwZi8o9fqY+PHEMu8IzS6hEkd0H3n1sxMi5arVOrDwsBwND/9dt4YifQ== X-Received: by 2002:a05:6a20:158b:b0:18b:985e:8035 with SMTP id h11-20020a056a20158b00b0018b985e8035mr21102153pzj.12.1701279114158; Wed, 29 Nov 2023 09:31:54 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id y42-20020a056a0003aa00b006baa1cf561dsm10950435pfs.0.2023.11.29.09.31.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 09:31:53 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Ajit Khaparde , Raveendra Padasalagi , Vikas Gupta Subject: [PATCH v5 18/19] crypto/bcmfs: replace term sanity check Date: Wed, 29 Nov 2023 09:26:12 -0800 Message-ID: <20231129173122.126895-19-stephen@networkplumber.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231129173122.126895-1-stephen@networkplumber.org> References: <20230802232550.125487-1-stephen@networkplumber.org> <20231129173122.126895-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 9a30c654dab8..051bbea9cc81 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 cbfe42cb4713..2df10a302841 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.42.0