Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/131250/?format=api
https://patches.dpdk.org/api/patches/131250/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230908054003.295-1-anoobj@marvell.com/", "project": { "id": 1, "url": "https://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": "<20230908054003.295-1-anoobj@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230908054003.295-1-anoobj@marvell.com", "date": "2023-09-08T05:40:00", "name": "[1/4] security: remove redundant cast", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": true, "hash": "49187bc92237f17e268b833f96875883ceb3b55e", "submitter": { "id": 1205, "url": "https://patches.dpdk.org/api/people/1205/?format=api", "name": "Anoob Joseph", "email": "anoobj@marvell.com" }, "delegate": { "id": 6690, "url": "https://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20230908054003.295-1-anoobj@marvell.com/mbox/", "series": [ { "id": 29456, "url": "https://patches.dpdk.org/api/series/29456/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=29456", "date": "2023-09-08T05:40:00", "name": "[1/4] security: remove redundant cast", "version": 1, "mbox": "https://patches.dpdk.org/series/29456/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/131250/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/131250/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 46EED4253E;\n\tFri, 8 Sep 2023 07:40:09 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 3A0A340285;\n\tFri, 8 Sep 2023 07:40:09 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 2B2B640042\n for <dev@dpdk.org>; Fri, 8 Sep 2023 07:40:07 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 3885H6XR020867; Thu, 7 Sep 2023 22:40:06 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3syk9ajb21-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Thu, 07 Sep 2023 22:40:06 -0700", "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Thu, 7 Sep 2023 22:40:04 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend\n Transport; Thu, 7 Sep 2023 22:40:04 -0700", "from BG-LT92004.corp.innovium.com (unknown [10.28.163.189])\n by maili.marvell.com (Postfix) with ESMTP id A7CC75B697E;\n Thu, 7 Sep 2023 22:40:02 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : mime-version : content-transfer-encoding :\n content-type; s=pfpt0220; bh=Qe22KDKJ8KRTPWvutbWvOHgW3chhC4ZZQkLL92wdFms=;\n b=SQRrOPHaagt23UnCjXm7HUR5RP8yid2pEHlElvyVwS9m55XC1Kg7T8n369BcY4dA8YB/\n StQE6ci0UBrotJS9pb/XihS1GD7pv7nc+qNHR0J1fcq7CZTL39awys4hBqxWUQr3xqvs\n 7a2twRNwwvICr1DidSzNRsWPVQxV3n6kq2dTLJCvI8gGspOK33HCLwrA4bPP8xvkV8Mf\n 5gsZ8P0NVUY6HxDAOyU0I7Qo6YBglDnpVKIW+ZBSNgqd9fGCnwpDV9y6KuSfF9j2Vp+I\n vz3ibwCYQKlSOZE71eMTbQuaWfzjvC0a6WWB+A/StUv3mRa6Vg5H3usxr2OXOMGdzD/Y OQ==", "From": "Anoob Joseph <anoobj@marvell.com>", "To": "Akhil Goyal <gakhil@marvell.com>, Ciara Power <ciara.power@intel.com>", "CC": "Jerin Jacob <jerinj@marvell.com>, <dev@dpdk.org>", "Subject": "[PATCH 1/4] security: remove redundant cast", "Date": "Fri, 8 Sep 2023 11:10:00 +0530", "Message-ID": "<20230908054003.295-1-anoobj@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "yR2Tz52vYCKw2ihAdst-mQdv5QLqeAiq", "X-Proofpoint-GUID": "yR2Tz52vYCKw2ihAdst-mQdv5QLqeAiq", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.601,FMLib:17.11.176.26\n definitions=2023-09-08_03,2023-09-05_01,2023-05-22_02", "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": "The API 'rte_cryptodev_get_sec_ctx' returns void *. Type cast is not\nrequired.\n\nSigned-off-by: Anoob Joseph <anoobj@marvell.com>\n---\n lib/security/rte_security.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/security/rte_security.c b/lib/security/rte_security.c\nindex c4d64bb8e9..71910863bc 100644\n--- a/lib/security/rte_security.c\n+++ b/lib/security/rte_security.c\n@@ -385,7 +385,7 @@ security_capabilities_from_dev_id(int dev_id, const void **caps)\n \tif (rte_cryptodev_is_valid_dev(dev_id) == 0)\n \t\treturn -EINVAL;\n \n-\tsec_ctx = (struct rte_security_ctx *)rte_cryptodev_get_sec_ctx(dev_id);\n+\tsec_ctx = rte_cryptodev_get_sec_ctx(dev_id);\n \tRTE_PTR_OR_ERR_RET(sec_ctx, -EINVAL);\n \n \tcapabilities = rte_security_capabilities_get(sec_ctx);\n", "prefixes": [ "1/4" ] }{ "id": 131250, "url": "