get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/70785/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 70785,
    "url": "http://patches.dpdk.org/api/patches/70785/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200603024016.30636-24-qi.z.zhang@intel.com/",
    "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": "<20200603024016.30636-24-qi.z.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200603024016.30636-24-qi.z.zhang@intel.com",
    "date": "2020-06-03T02:39:47",
    "name": "[23/52] net/ice/base: remove unnecessary braces",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "6c044f73d32349979031c5c239e96c50481a90c8",
    "submitter": {
        "id": 504,
        "url": "http://patches.dpdk.org/api/people/504/?format=api",
        "name": "Qi Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "delegate": {
        "id": 31221,
        "url": "http://patches.dpdk.org/api/users/31221/?format=api",
        "username": "yexl",
        "first_name": "xiaolong",
        "last_name": "ye",
        "email": "xiaolong.ye@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200603024016.30636-24-qi.z.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 10300,
            "url": "http://patches.dpdk.org/api/series/10300/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=10300",
            "date": "2020-06-03T02:39:24",
            "name": "net/ice: base code update",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/10300/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/70785/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/70785/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 50696A04FA;\n\tWed,  3 Jun 2020 04:40:14 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 4770F1BF90;\n\tWed,  3 Jun 2020 04:37:11 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by dpdk.org (Postfix) with ESMTP id 0809C1C438\n for <dev@dpdk.org>; Wed,  3 Jun 2020 04:37:08 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Jun 2020 19:37:08 -0700",
            "from dpdk51.sh.intel.com ([10.67.111.82])\n by orsmga001.jf.intel.com with ESMTP; 02 Jun 2020 19:37:06 -0700"
        ],
        "IronPort-SDR": [
            "\n f7Ji1cfqL0oDTi2ijW6ml3bCzgycC7RcYsDmfW9PpVgQeQZ12JrUmtXQeGD8KQETMkudQVocsW\n iJEZFWUr8Drg==",
            "\n cqvPMPFzyIXYupvsfhuFa2V5hHcsTFj+0olO/aIzr2K5ZfmDEW/E119m8xIP1njdA9ucYwD2r4\n Ptrp1Ar7Czbw=="
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.73,466,1583222400\"; d=\"scan'208\";a=\"347614057\"",
        "From": "Qi Zhang <qi.z.zhang@intel.com>",
        "To": "qiming.yang@intel.com",
        "Cc": "dev@dpdk.org, xiaolong.ye@intel.com, Qi Zhang <qi.z.zhang@intel.com>,\n Tony Nguyen <anthony.l.nguyen@intel.com>,\n \"Paul M . Stillwell Jr\" <paul.m.stillwell.jr@intel.com>",
        "Date": "Wed,  3 Jun 2020 10:39:47 +0800",
        "Message-Id": "<20200603024016.30636-24-qi.z.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.13.6",
        "In-Reply-To": "<20200603024016.30636-1-qi.z.zhang@intel.com>",
        "References": "<20200603024016.30636-1-qi.z.zhang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 23/52] net/ice/base: remove unnecessary braces",
        "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": "This patch mainly does cleanups related to unnecessary braces.\n\nA few other minor fixes are included which include fixing a typo,\npulling up some lines, and fixing RCT.\n\nSigned-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>\nSigned-off-by: Paul M. Stillwell Jr <paul.m.stillwell.jr@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/base/ice_flex_pipe.c | 54 ++++++++++++------------------------\n drivers/net/ice/base/ice_flow.c      | 15 ++++------\n drivers/net/ice/base/ice_flow.h      |  1 +\n 3 files changed, 24 insertions(+), 46 deletions(-)",
    "diff": "diff --git a/drivers/net/ice/base/ice_flex_pipe.c b/drivers/net/ice/base/ice_flex_pipe.c\nindex 563b75b0d..340a855d3 100644\n--- a/drivers/net/ice/base/ice_flex_pipe.c\n+++ b/drivers/net/ice/base/ice_flex_pipe.c\n@@ -2428,12 +2428,10 @@ ice_match_prop_lst(struct LIST_HEAD_TYPE *list1, struct LIST_HEAD_TYPE *list2)\n \tu16 count = 0;\n \n \t/* compare counts */\n-\tLIST_FOR_EACH_ENTRY(tmp1, list1, ice_vsig_prof, list) {\n+\tLIST_FOR_EACH_ENTRY(tmp1, list1, ice_vsig_prof, list)\n \t\tcount++;\n-\t}\n-\tLIST_FOR_EACH_ENTRY(tmp2, list2, ice_vsig_prof, list) {\n+\tLIST_FOR_EACH_ENTRY(tmp2, list2, ice_vsig_prof, list)\n \t\tchk_count++;\n-\t}\n \tif (!count || count != chk_count)\n \t\treturn false;\n \n@@ -2542,13 +2540,12 @@ ice_find_dup_props_vsig(struct ice_hw *hw, enum ice_block blk,\n \tstruct ice_xlt2 *xlt2 = &hw->blk[blk].xlt2;\n \tu16 i;\n \n-\tfor (i = 0; i < xlt2->count; i++) {\n+\tfor (i = 0; i < xlt2->count; i++)\n \t\tif (xlt2->vsig_tbl[i].in_use &&\n \t\t    ice_match_prop_lst(chs, &xlt2->vsig_tbl[i].prop_lst)) {\n \t\t\t*vsig = ICE_VSIG_VALUE(i, hw->pf_id);\n \t\t\treturn ICE_SUCCESS;\n \t\t}\n-\t}\n \n \treturn ICE_ERR_DOES_NOT_EXIST;\n }\n@@ -4051,10 +4048,9 @@ ice_has_prof_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, u64 hdl)\n \tstruct ice_vsig_prof *ent;\n \n \tLIST_FOR_EACH_ENTRY(ent, &hw->blk[blk].xlt2.vsig_tbl[idx].prop_lst,\n-\t\t\t    ice_vsig_prof, list) {\n+\t\t\t    ice_vsig_prof, list)\n \t\tif (ent->profile_cookie == hdl)\n \t\t\treturn true;\n-\t}\n \n \tice_debug(hw, ICE_DBG_INIT,\n \t\t  \"Characteristic list for VSI group %d not found.\\n\",\n@@ -4076,7 +4072,7 @@ ice_prof_bld_es(struct ice_hw *hw, enum ice_block blk,\n \tu16 vec_size = hw->blk[blk].es.fvw * sizeof(struct ice_fv_word);\n \tstruct ice_chs_chg *tmp;\n \n-\tLIST_FOR_EACH_ENTRY(tmp, chgs, ice_chs_chg, list_entry) {\n+\tLIST_FOR_EACH_ENTRY(tmp, chgs, ice_chs_chg, list_entry)\n \t\tif (tmp->type == ICE_PTG_ES_ADD && tmp->add_prof) {\n \t\t\tu16 off = tmp->prof_id * hw->blk[blk].es.fvw;\n \t\t\tstruct ice_pkg_es *p;\n@@ -4097,7 +4093,6 @@ ice_prof_bld_es(struct ice_hw *hw, enum ice_block blk,\n \t\t\tice_memcpy(p->es, &hw->blk[blk].es.t[off], vec_size,\n \t\t\t\t   ICE_NONDMA_TO_NONDMA);\n \t\t}\n-\t}\n \n \treturn ICE_SUCCESS;\n }\n@@ -4115,7 +4110,7 @@ ice_prof_bld_tcam(struct ice_hw *hw, enum ice_block blk,\n {\n \tstruct ice_chs_chg *tmp;\n \n-\tLIST_FOR_EACH_ENTRY(tmp, chgs, ice_chs_chg, list_entry) {\n+\tLIST_FOR_EACH_ENTRY(tmp, chgs, ice_chs_chg, list_entry)\n \t\tif (tmp->type == ICE_TCAM_ADD && tmp->add_tcam_idx) {\n \t\t\tstruct ice_prof_id_section *p;\n \t\t\tu32 id;\n@@ -4136,7 +4131,6 @@ ice_prof_bld_tcam(struct ice_hw *hw, enum ice_block blk,\n \t\t\t\t   sizeof(hw->blk[blk].prof.t->key),\n \t\t\t\t   ICE_NONDMA_TO_NONDMA);\n \t\t}\n-\t}\n \n \treturn ICE_SUCCESS;\n }\n@@ -4153,7 +4147,7 @@ ice_prof_bld_xlt1(enum ice_block blk, struct ice_buf_build *bld,\n {\n \tstruct ice_chs_chg *tmp;\n \n-\tLIST_FOR_EACH_ENTRY(tmp, chgs, ice_chs_chg, list_entry) {\n+\tLIST_FOR_EACH_ENTRY(tmp, chgs, ice_chs_chg, list_entry)\n \t\tif (tmp->type == ICE_PTG_ES_ADD && tmp->add_ptg) {\n \t\t\tstruct ice_xlt1_section *p;\n \t\t\tu32 id;\n@@ -4169,7 +4163,6 @@ ice_prof_bld_xlt1(enum ice_block blk, struct ice_buf_build *bld,\n \t\t\tp->offset = CPU_TO_LE16(tmp->ptype);\n \t\t\tp->value[0] = tmp->ptg;\n \t\t}\n-\t}\n \n \treturn ICE_SUCCESS;\n }\n@@ -4400,13 +4393,12 @@ ice_update_fd_swap(struct ice_hw *hw, u16 prof_id, struct ice_fv_word *es)\n \t\t    ICE_PROT_INVALID)\n \t\t\tfirst_free = i - 1;\n \n-\t\tfor (j = 0; j < ICE_FD_SRC_DST_PAIR_COUNT; j++) {\n+\t\tfor (j = 0; j < ICE_FD_SRC_DST_PAIR_COUNT; j++)\n \t\t\tif (es[i].prot_id == ice_fd_pairs[j].prot_id &&\n \t\t\t    es[i].off == ice_fd_pairs[j].off) {\n \t\t\t\tice_set_bit(j, pair_list);\n \t\t\t\tpair_start[j] = i;\n \t\t\t}\n-\t\t}\n \t}\n \n \torig_free = first_free;\n@@ -4463,7 +4455,7 @@ ice_update_fd_swap(struct ice_hw *hw, u16 prof_id, struct ice_fv_word *es)\n \t\t}\n \n \t\t/* check for a swap location */\n-\t\tfor (j = 0; j < ICE_FD_SRC_DST_PAIR_COUNT; j++) {\n+\t\tfor (j = 0; j < ICE_FD_SRC_DST_PAIR_COUNT; j++)\n \t\t\tif (es[si].prot_id == ice_fd_pairs[j].prot_id &&\n \t\t\t    es[si].off == ice_fd_pairs[j].off) {\n \t\t\t\tu8 idx;\n@@ -4479,7 +4471,6 @@ ice_update_fd_swap(struct ice_hw *hw, u16 prof_id, struct ice_fv_word *es)\n \n \t\t\t\tbreak;\n \t\t\t}\n-\t\t}\n \n \t\tsi -= indexes_used;\n \t}\n@@ -4732,12 +4723,11 @@ ice_search_prof_id_low(struct ice_hw *hw, enum ice_block blk, u64 id)\n \tstruct ice_prof_map *map;\n \n \tLIST_FOR_EACH_ENTRY(map, &hw->blk[blk].es.prof_map, ice_prof_map,\n-\t\t\t    list) {\n+\t\t\t    list)\n \t\tif (map->profile_cookie == id) {\n \t\t\tentry = map;\n \t\t\tbreak;\n \t\t}\n-\t}\n \n \treturn entry;\n }\n@@ -4775,9 +4765,8 @@ ice_vsig_prof_id_count(struct ice_hw *hw, enum ice_block blk, u16 vsig)\n \tstruct ice_vsig_prof *p;\n \n \tLIST_FOR_EACH_ENTRY(p, &hw->blk[blk].xlt2.vsig_tbl[idx].prop_lst,\n-\t\t\t    ice_vsig_prof, list) {\n+\t\t\t    ice_vsig_prof, list)\n \t\tcount++;\n-\t}\n \n \treturn count;\n }\n@@ -4822,7 +4811,7 @@ ice_rem_prof_id(struct ice_hw *hw, enum ice_block blk,\n \tenum ice_status status;\n \tu16 i;\n \n-\tfor (i = 0; i < prof->tcam_count; i++) {\n+\tfor (i = 0; i < prof->tcam_count; i++)\n \t\tif (prof->tcam[i].in_use) {\n \t\t\tprof->tcam[i].in_use = false;\n \t\t\tstatus = ice_rel_tcam_idx(hw, blk,\n@@ -4830,7 +4819,6 @@ ice_rem_prof_id(struct ice_hw *hw, enum ice_block blk,\n \t\t\tif (status)\n \t\t\t\treturn ICE_ERR_HW_TABLE;\n \t\t}\n-\t}\n \n \treturn ICE_SUCCESS;\n }\n@@ -4868,7 +4856,7 @@ ice_rem_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig,\n \t/* If the VSIG has at least 1 VSI then iterate through the list\n \t * and remove the VSIs before deleting the group.\n \t */\n-\tif (vsi_cur) {\n+\tif (vsi_cur)\n \t\tdo {\n \t\t\tstruct ice_vsig_vsi *tmp = vsi_cur->next_vsi;\n \t\t\tstruct ice_chs_chg *p;\n@@ -4886,7 +4874,6 @@ ice_rem_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig,\n \n \t\t\tvsi_cur = tmp;\n \t\t} while (vsi_cur);\n-\t}\n \n \treturn ice_vsig_free(hw, blk, vsig);\n }\n@@ -4909,7 +4896,7 @@ ice_rem_prof_id_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, u64 hdl,\n \n \tLIST_FOR_EACH_ENTRY_SAFE(p, t,\n \t\t\t\t &hw->blk[blk].xlt2.vsig_tbl[idx].prop_lst,\n-\t\t\t\t ice_vsig_prof, list) {\n+\t\t\t\t ice_vsig_prof, list)\n \t\tif (p->profile_cookie == hdl) {\n \t\t\tif (ice_vsig_prof_id_count(hw, blk, vsig) == 1)\n \t\t\t\t/* this is the last profile, remove the VSIG */\n@@ -4922,7 +4909,6 @@ ice_rem_prof_id_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, u64 hdl,\n \t\t\t}\n \t\t\treturn status;\n \t\t}\n-\t}\n \n \treturn ICE_ERR_DOES_NOT_EXIST;\n }\n@@ -4943,7 +4929,7 @@ ice_rem_flow_all(struct ice_hw *hw, enum ice_block blk, u64 id)\n \n \tINIT_LIST_HEAD(&chg);\n \n-\tfor (i = 1; i < ICE_MAX_VSIGS; i++) {\n+\tfor (i = 1; i < ICE_MAX_VSIGS; i++)\n \t\tif (hw->blk[blk].xlt2.vsig_tbl[i].in_use) {\n \t\t\tif (ice_has_prof_vsig(hw, blk, i, id)) {\n \t\t\t\tstatus = ice_rem_prof_id_vsig(hw, blk, i, id,\n@@ -4952,7 +4938,6 @@ ice_rem_flow_all(struct ice_hw *hw, enum ice_block blk, u64 id)\n \t\t\t\t\tgoto err_ice_rem_flow_all;\n \t\t\t}\n \t\t}\n-\t}\n \n \tstatus = ice_upd_prof_hw(hw, blk, &chg);\n \n@@ -5024,7 +5009,7 @@ ice_get_prof(struct ice_hw *hw, enum ice_block blk, u64 hdl,\n \tif (!map)\n \t\treturn ICE_ERR_DOES_NOT_EXIST;\n \n-\tfor (i = 0; i < map->ptg_cnt; i++) {\n+\tfor (i = 0; i < map->ptg_cnt; i++)\n \t\tif (!hw->blk[blk].es.written[map->prof_id]) {\n \t\t\t/* add ES to change list */\n \t\t\tp = (struct ice_chs_chg *)ice_malloc(hw, sizeof(*p));\n@@ -5044,7 +5029,6 @@ ice_get_prof(struct ice_hw *hw, enum ice_block blk, u64 hdl,\n \n \t\t\tLIST_ADD(&p->list_entry, chg);\n \t\t}\n-\t}\n \n \treturn ICE_SUCCESS;\n \n@@ -5196,12 +5180,11 @@ ice_rem_chg_tcam_ent(struct ice_hw *hw, u16 idx, struct LIST_HEAD_TYPE *chg)\n {\n \tstruct ice_chs_chg *pos, *tmp;\n \n-\tLIST_FOR_EACH_ENTRY_SAFE(tmp, pos, chg, ice_chs_chg, list_entry) {\n+\tLIST_FOR_EACH_ENTRY_SAFE(tmp, pos, chg, ice_chs_chg, list_entry)\n \t\tif (tmp->type == ICE_TCAM_ADD && tmp->tcam_idx == idx) {\n \t\t\tLIST_DEL(&tmp->list_entry);\n \t\t\tice_free(hw, tmp);\n \t\t}\n-\t}\n }\n \n /**\n@@ -5814,13 +5797,12 @@ ice_rem_prof_from_list(struct ice_hw *hw, struct LIST_HEAD_TYPE *lst, u64 hdl)\n {\n \tstruct ice_vsig_prof *ent, *tmp;\n \n-\tLIST_FOR_EACH_ENTRY_SAFE(ent, tmp, lst, ice_vsig_prof, list) {\n+\tLIST_FOR_EACH_ENTRY_SAFE(ent, tmp, lst, ice_vsig_prof, list)\n \t\tif (ent->profile_cookie == hdl) {\n \t\t\tLIST_DEL(&ent->list);\n \t\t\tice_free(hw, ent);\n \t\t\treturn ICE_SUCCESS;\n \t\t}\n-\t}\n \n \treturn ICE_ERR_DOES_NOT_EXIST;\n }\ndiff --git a/drivers/net/ice/base/ice_flow.c b/drivers/net/ice/base/ice_flow.c\nindex 00f58697f..dfa351ff2 100644\n--- a/drivers/net/ice/base/ice_flow.c\n+++ b/drivers/net/ice/base/ice_flow.c\n@@ -1387,7 +1387,7 @@ ice_flow_find_prof_conds(struct ice_hw *hw, enum ice_block blk,\n \tstruct ice_flow_prof *p, *prof = NULL;\n \n \tice_acquire_lock(&hw->fl_profs_locks[blk]);\n-\tLIST_FOR_EACH_ENTRY(p, &hw->fl_profs[blk], ice_flow_prof, l_entry) {\n+\tLIST_FOR_EACH_ENTRY(p, &hw->fl_profs[blk], ice_flow_prof, l_entry)\n \t\tif ((p->dir == dir || conds & ICE_FLOW_FIND_PROF_NOT_CHK_DIR) &&\n \t\t    segs_cnt && segs_cnt == p->segs_cnt) {\n \t\t\tu8 i;\n@@ -1413,7 +1413,6 @@ ice_flow_find_prof_conds(struct ice_hw *hw, enum ice_block blk,\n \t\t\t\tbreak;\n \t\t\t}\n \t\t}\n-\t}\n \tice_release_lock(&hw->fl_profs_locks[blk]);\n \n \treturn prof;\n@@ -1450,10 +1449,9 @@ ice_flow_find_prof_id(struct ice_hw *hw, enum ice_block blk, u64 prof_id)\n {\n \tstruct ice_flow_prof *p;\n \n-\tLIST_FOR_EACH_ENTRY(p, &hw->fl_profs[blk], ice_flow_prof, l_entry) {\n+\tLIST_FOR_EACH_ENTRY(p, &hw->fl_profs[blk], ice_flow_prof, l_entry)\n \t\tif (p->id == prof_id)\n \t\t\treturn p;\n-\t}\n \n \treturn NULL;\n }\n@@ -3159,13 +3157,12 @@ void ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle)\n \n \tice_acquire_lock(&hw->rss_locks);\n \tLIST_FOR_EACH_ENTRY_SAFE(r, tmp, &hw->rss_list_head,\n-\t\t\t\t ice_rss_cfg, l_entry) {\n+\t\t\t\t ice_rss_cfg, l_entry)\n \t\tif (ice_test_and_clear_bit(vsi_handle, r->vsis))\n \t\t\tif (!ice_is_any_bit_set(r->vsis, ICE_MAX_VSI)) {\n \t\t\t\tLIST_DEL(&r->l_entry);\n \t\t\t\tice_free(hw, r);\n \t\t\t}\n-\t}\n \tice_release_lock(&hw->rss_locks);\n }\n \n@@ -3192,7 +3189,7 @@ enum ice_status ice_rem_vsi_rss_cfg(struct ice_hw *hw, u16 vsi_handle)\n \n \tice_acquire_lock(&hw->fl_profs_locks[blk]);\n \tLIST_FOR_EACH_ENTRY_SAFE(p, t, &hw->fl_profs[blk], ice_flow_prof,\n-\t\t\t\t l_entry) {\n+\t\t\t\t l_entry)\n \t\tif (ice_is_bit_set(p->vsis, vsi_handle)) {\n \t\t\tstatus = ice_flow_disassoc_prof(hw, blk, p, vsi_handle);\n \t\t\tif (status)\n@@ -3204,7 +3201,6 @@ enum ice_status ice_rem_vsi_rss_cfg(struct ice_hw *hw, u16 vsi_handle)\n \t\t\t\t\tbreak;\n \t\t\t}\n \t\t}\n-\t}\n \tice_release_lock(&hw->fl_profs_locks[blk]);\n \n \treturn status;\n@@ -3228,7 +3224,7 @@ ice_rem_rss_list(struct ice_hw *hw, u16 vsi_handle, struct ice_flow_prof *prof)\n \t * remove from the RSS entry list of the VSI context and delete entry.\n \t */\n \tLIST_FOR_EACH_ENTRY_SAFE(r, tmp, &hw->rss_list_head,\n-\t\t\t\t ice_rss_cfg, l_entry) {\n+\t\t\t\t ice_rss_cfg, l_entry)\n \t\tif (r->hashed_flds == prof->segs[prof->segs_cnt - 1].match &&\n \t\t    r->packet_hdr == prof->segs[prof->segs_cnt - 1].hdrs) {\n \t\t\tice_clear_bit(vsi_handle, r->vsis);\n@@ -3238,7 +3234,6 @@ ice_rem_rss_list(struct ice_hw *hw, u16 vsi_handle, struct ice_flow_prof *prof)\n \t\t\t}\n \t\t\treturn;\n \t\t}\n-\t}\n }\n \n /**\ndiff --git a/drivers/net/ice/base/ice_flow.h b/drivers/net/ice/base/ice_flow.h\nindex 93043acc8..88c369a33 100644\n--- a/drivers/net/ice/base/ice_flow.h\n+++ b/drivers/net/ice/base/ice_flow.h\n@@ -7,6 +7,7 @@\n \n #include \"ice_flex_type.h\"\n #include \"ice_acl.h\"\n+\n #define ICE_IPV4_MAKE_PREFIX_MASK(prefix) ((u32)(~0) << (32 - (prefix)))\n #define ICE_FLOW_PROF_ID_INVAL\t\t0xfffffffffffffffful\n #define ICE_FLOW_PROF_ID_BYPASS\t\t0\n",
    "prefixes": [
        "23/52"
    ]
}