Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/82079/?format=api
https://patches.dpdk.org/api/patches/82079/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201025002953.1680999-13-qi.z.zhang@intel.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": "<20201025002953.1680999-13-qi.z.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20201025002953.1680999-13-qi.z.zhang@intel.com", "date": "2020-10-25T00:29:44", "name": "[v2,12/21] net/ice/base: return error directly", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "fe846e678706ff1ff0aa6bee8fdea865fb9fc36b", "submitter": { "id": 504, "url": "https://patches.dpdk.org/api/people/504/?format=api", "name": "Qi Zhang", "email": "qi.z.zhang@intel.com" }, "delegate": { "id": 1540, "url": "https://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20201025002953.1680999-13-qi.z.zhang@intel.com/mbox/", "series": [ { "id": 13297, "url": "https://patches.dpdk.org/api/series/13297/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13297", "date": "2020-10-25T00:29:32", "name": "ice: update base code", "version": 2, "mbox": "https://patches.dpdk.org/series/13297/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/82079/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/82079/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 16A22A04B5;\n\tSun, 25 Oct 2020 02:29:56 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B70D52BFA;\n\tSun, 25 Oct 2020 02:26:31 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by dpdk.org (Postfix) with ESMTP id D87A9295B\n for <dev@dpdk.org>; Sun, 25 Oct 2020 02:26:14 +0200 (CEST)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 24 Oct 2020 17:26:14 -0700", "from dpdk51.sh.intel.com ([10.67.111.142])\n by FMSMGA003.fm.intel.com with ESMTP; 24 Oct 2020 17:26:13 -0700" ], "IronPort-SDR": [ "\n bW8EL4uJV70tNP6e9p9/7VOXJqIGS+EVjSBNZ7NR8sAIceppxmPN9NmJH/hY+rKHAJDL6wGmdX\n E1NH7ARobSpA==", "\n 9AujsRuqkMcPmefysJVt2GvPUcm5oYgs+d3xQhJT+v8XqhyGVxbIP4l9ihxs/UWliqOOErDW8r\n os4MBoppY+2g==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9784\"; a=\"167927040\"", "E=Sophos;i=\"5.77,414,1596524400\"; d=\"scan'208\";a=\"167927040\"", "E=Sophos;i=\"5.77,414,1596524400\"; d=\"scan'208\";a=\"359984077\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Qi Zhang <qi.z.zhang@intel.com>", "To": "qiming.yang@intel.com", "Cc": "dev@dpdk.org, Qi Zhang <qi.z.zhang@intel.com>,\n Tony Nguyen <anthony.l.nguyen@intel.com>", "Date": "Sun, 25 Oct 2020 08:29:44 +0800", "Message-Id": "<20201025002953.1680999-13-qi.z.zhang@intel.com>", "X-Mailer": "git-send-email 2.25.4", "In-Reply-To": "<20201025002953.1680999-1-qi.z.zhang@intel.com>", "References": "<20201025002953.1680999-1-qi.z.zhang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2 12/21] net/ice/base: return error directly", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "As there is nothing to unroll, return the error directly. Remove the label\nas this is the only reference to that label.\n\nSigned-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/base/ice_sched.c | 9 ++++-----\n 1 file changed, 4 insertions(+), 5 deletions(-)", "diff": "diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c\nindex 16314ef18e..7867d4fda8 100644\n--- a/drivers/net/ice/base/ice_sched.c\n+++ b/drivers/net/ice/base/ice_sched.c\n@@ -2662,10 +2662,9 @@ ice_sched_cfg_agg(struct ice_port_info *pi, u32 agg_id,\n \t\t/* Create new entry for new aggregator ID */\n \t\tagg_info = (struct ice_sched_agg_info *)\n \t\t\tice_malloc(hw, sizeof(*agg_info));\n-\t\tif (!agg_info) {\n-\t\t\tstatus = ICE_ERR_NO_MEMORY;\n-\t\t\tgoto exit_reg_agg;\n-\t\t}\n+\t\tif (!agg_info)\n+\t\t\treturn ICE_ERR_NO_MEMORY;\n+\n \t\tagg_info->agg_id = agg_id;\n \t\tagg_info->agg_type = agg_type;\n \t\tagg_info->tc_bitmap[0] = 0;\n@@ -2698,7 +2697,7 @@ ice_sched_cfg_agg(struct ice_port_info *pi, u32 agg_id,\n \t\t/* Save aggregator node's TC information */\n \t\tice_set_bit(tc, agg_info->tc_bitmap);\n \t}\n-exit_reg_agg:\n+\n \treturn status;\n }\n \n", "prefixes": [ "v2", "12/21" ] }{ "id": 82079, "url": "