Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/127131/?format=api
http://patches.dpdk.org/api/patches/127131/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230519174611.11232-19-stephen@networkplumber.org/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20230519174611.11232-19-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20230519174611.11232-19-stephen@networkplumber.org", "date": "2023-05-19T17:46:10", "name": "[v3,18/19] crypto/bcmfs: replace term sanity check", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "d2696478e973a6a59119d38611a540019f029a4c", "submitter": { "id": 27, "url": "http://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230519174611.11232-19-stephen@networkplumber.org/mbox/", "series": [ { "id": 28092, "url": "http://patches.dpdk.org/api/series/28092/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=28092", "date": "2023-05-19T17:45:52", "name": "Replace use \"sanity check\"", "version": 3, "mbox": "http://patches.dpdk.org/series/28092/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/127131/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/127131/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id CDFEF42B4B;\n\tFri, 19 May 2023 19:48:11 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4282042F94;\n\tFri, 19 May 2023 19:46:39 +0200 (CEST)", "from mail-pf1-f175.google.com (mail-pf1-f175.google.com\n [209.85.210.175])\n by mails.dpdk.org (Postfix) with ESMTP id 5AAD542DB5\n for <dev@dpdk.org>; Fri, 19 May 2023 19:46:35 +0200 (CEST)", "by mail-pf1-f175.google.com with SMTP id\n d2e1a72fcca58-64d24136663so1444843b3a.0\n for <dev@dpdk.org>; Fri, 19 May 2023 10:46:35 -0700 (PDT)", "from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218])\n by smtp.gmail.com with ESMTPSA id\n e3-20020a170902744300b001aaf2e7b06csm3713101plt.132.2023.05.19.10.46.33\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 19 May 2023 10:46:34 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1684518394;\n x=1687110394;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=69mHfvs2lidrOAYmWKgl8XU07nB+W9FxVe9ZBT1ukeY=;\n b=zrRp/AImZccHk5lsNNdT29Q4RKnZmUNyBY+dqWR33GD9uvoJwYVMEcUmvx8Zpmvw4i\n oi9rYGi1VyOOOI/dWYLvur3vI2aLGqJP8h2MztRm2lGZWxmeBAio0YLJV2aBg2EmuQtK\n EoXyIWS5qLcWWqHcxrF9occfctDYrdBpTSxCAWwuRhBg70bjywjiSnlZpXpigch/dVGq\n 7D7q32R0myzUX3ATIftPuemLtxLxPdryEqYiH0LrdOTfCsXzTECtJd+CVz7pHMFEaVDl\n 3GqDR5Q2ufNP6vDcNKt1zQn6VFfME6unudh1o4l5m0/gjKYVRl2dWOvVt5NUaBBQ5mQ+\n o+OQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20221208; t=1684518394; x=1687110394;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=69mHfvs2lidrOAYmWKgl8XU07nB+W9FxVe9ZBT1ukeY=;\n b=CCw5n9PySEF5vPrmqckChR2Bu3U47kjJyDLhhD511RHzo/JptRPt9/ZRCh3Crz8oXL\n qwwfsmrKw7ZFo9ArSzb3ultnovjapdE6KMicjDRTZikHJArS/hfCQbe7sqKQ6n4w2Qik\n 4Ve0sJWikJh3Ds8K2+OD4QYLGem7V13/iSbM1wIvVun5+x5n53aievAPZVZjlifM8bqz\n 00g2YW+e2l55KxfYjb9/hV77Ht1nAvQkGD6ZjVKnLyQiaa7HC+zgbnVAEURh4LOjdUbW\n hwftpRP1x8Z44RnZ+VwNhyzB5swbQJs88BaoGtMXGmwf4ZRfj46iP4LEApH5ZqcpH69N\n JyfA==", "X-Gm-Message-State": "AC+VfDwJPFkknsv9EDOapPBKvG7pLIlhuvGVIrgHIGAlfw65Y6y23o3Y\n kVH9KoFGzfMyeYDwZYtHSYwC6HGn+9cSIXiTtCF6MQ==", "X-Google-Smtp-Source": "\n ACHHUZ4hmY14MoOsXkfRPy7NaBwQsE5BfrJQ7iGsBfVQG208WZLzjhV5jZimgHwstwg41tWg+88ZjA==", "X-Received": "by 2002:a17:902:7d8d:b0:1a6:dba5:2e60 with SMTP id\n a13-20020a1709027d8d00b001a6dba52e60mr3205286plm.25.1684518394611;\n Fri, 19 May 2023 10:46:34 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Ajit Khaparde <ajit.khaparde@broadcom.com>,\n Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>,\n Vikas Gupta <vikas.gupta@broadcom.com>", "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>\n <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 <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "Do not use non-inclusive naming here.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n drivers/crypto/bcmfs/hw/bcmfs4_rm.c | 6 +++---\n drivers/crypto/bcmfs/hw/bcmfs5_rm.c | 6 +++---\n 2 files changed, 6 insertions(+), 6 deletions(-)", "diff": "diff --git a/drivers/crypto/bcmfs/hw/bcmfs4_rm.c b/drivers/crypto/bcmfs/hw/bcmfs4_rm.c\nindex 0ccb111898e4..50280fe14176 100644\n--- a/drivers/crypto/bcmfs/hw/bcmfs4_rm.c\n+++ b/drivers/crypto/bcmfs/hw/bcmfs4_rm.c\n@@ -317,7 +317,7 @@ bcmfs4_mdst_desc(uint64_t addr, unsigned int length_div_16)\n }\n \n static bool\n-bcmfs4_sanity_check(struct bcmfs_qp_message *msg)\n+bcmfs4_message_check(struct bcmfs_qp_message *msg)\n {\n \tunsigned int i = 0;\n \n@@ -458,8 +458,8 @@ bcmfs4_enqueue_single_request_qp(struct bcmfs_qp *qp, void *op)\n \tstruct bcmfs_queue *txq = &qp->tx_q;\n \tstruct bcmfs_qp_message *msg = (struct bcmfs_qp_message *)op;\n \n-\t/* Do sanity check on message */\n-\tif (!bcmfs4_sanity_check(msg)) {\n+\t/* Do check on message */\n+\tif (!bcmfs4_message_check(msg)) {\n \t\tBCMFS_DP_LOG(ERR, \"Invalid msg on queue %d\", qp->qpair_id);\n \t\treturn -EIO;\n \t}\ndiff --git a/drivers/crypto/bcmfs/hw/bcmfs5_rm.c b/drivers/crypto/bcmfs/hw/bcmfs5_rm.c\nindex c677c0cd9b52..c45eea82de20 100644\n--- a/drivers/crypto/bcmfs/hw/bcmfs5_rm.c\n+++ b/drivers/crypto/bcmfs/hw/bcmfs5_rm.c\n@@ -293,7 +293,7 @@ bcmfs5_mdst_desc(uint64_t addr, unsigned int len_div_16)\n }\n \n static bool\n-bcmfs5_sanity_check(struct bcmfs_qp_message *msg)\n+bcmfs5_message_check(struct bcmfs_qp_message *msg)\n {\n \tunsigned int i = 0;\n \n@@ -389,8 +389,8 @@ bcmfs5_enqueue_single_request_qp(struct bcmfs_qp *qp, void *op)\n \tstruct bcmfs_queue *txq = &qp->tx_q;\n \tstruct bcmfs_qp_message *msg = (struct bcmfs_qp_message *)op;\n \n-\t/* Do sanity check on message */\n-\tif (!bcmfs5_sanity_check(msg)) {\n+\t/* Do check on message */\n+\tif (!bcmfs5_message_check(msg)) {\n \t\tBCMFS_DP_LOG(ERR, \"Invalid msg on queue %d\", qp->qpair_id);\n \t\treturn -EIO;\n \t}\n", "prefixes": [ "v3", "18/19" ] }{ "id": 127131, "url": "