Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/819405/?format=api
{ "id": 819405, "url": "http://patchwork.ozlabs.org/api/patches/819405/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170928044132.30940-11-saeedm@mellanox.com/", "project": { "id": 7, "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api", "name": "Linux network development", "link_name": "netdev", "list_id": "netdev.vger.kernel.org", "list_email": "netdev@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170928044132.30940-11-saeedm@mellanox.com>", "list_archive_url": null, "date": "2017-09-28T04:41:31", "name": "[net,10/11] net/mlx5: Fix static checker warning on steering tracepoints code", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "1afcda1b332779a1edbdb6986d47a8ac3187b479", "submitter": { "id": 65299, "url": "http://patchwork.ozlabs.org/api/people/65299/?format=api", "name": "Saeed Mahameed", "email": "saeedm@mellanox.com" }, "delegate": { "id": 34, "url": "http://patchwork.ozlabs.org/api/users/34/?format=api", "username": "davem", "first_name": "David", "last_name": "Miller", "email": "davem@davemloft.net" }, "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20170928044132.30940-11-saeedm@mellanox.com/mbox/", "series": [ { "id": 5488, "url": "http://patchwork.ozlabs.org/api/series/5488/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=5488", "date": "2017-09-28T04:41:23", "name": "Mellanox, mlx5 fixes 2017-09-28", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/5488/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/819405/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/819405/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<netdev-owner@vger.kernel.org>", "X-Original-To": "patchwork-incoming@ozlabs.org", "Delivered-To": "patchwork-incoming@ozlabs.org", "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3y2hr55xlJz9t3x\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 28 Sep 2017 14:42:29 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752005AbdI1EmW (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tThu, 28 Sep 2017 00:42:22 -0400", "from mail-il-dmz.mellanox.com ([193.47.165.129]:54420 \"EHLO\n\tmellanox.co.il\" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org\n\twith ESMTP id S1751776AbdI1EmG (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Thu, 28 Sep 2017 00:42:06 -0400", "from Internal Mail-Server by MTLPINE1 (envelope-from\n\tsaeedm@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 28 Sep 2017 06:42:02 +0200", "from sws.mtl.labs.mlnx (reg-l-vrt-045-015.mtl.labs.mlnx\n\t[10.135.45.15])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id v8S4g1jE011096;\n\tThu, 28 Sep 2017 07:42:02 +0300" ], "From": "Saeed Mahameed <saeedm@mellanox.com>", "To": "\"David S. Miller\" <davem@davemloft.net>", "Cc": "netdev@vger.kernel.org, Matan Barak <matanb@mellanox.com>,\n\tSaeed Mahameed <saeedm@mellanox.com>", "Subject": "[net 10/11] net/mlx5: Fix static checker warning on steering\n\ttracepoints code", "Date": "Thu, 28 Sep 2017 07:41:31 +0300", "Message-Id": "<20170928044132.30940-11-saeedm@mellanox.com>", "X-Mailer": "git-send-email 2.13.0", "In-Reply-To": "<20170928044132.30940-1-saeedm@mellanox.com>", "References": "<20170928044132.30940-1-saeedm@mellanox.com>", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "From: Matan Barak <matanb@mellanox.com>\n\nFix this sparse complaint:\n\ndrivers/net/ethernet/mellanox/mlx5/core/./diag/fs_tracepoint.h:172:1:\n\twarning: odd constant _Bool cast (ffffffffffffffff becomes 1)\n\nFixes: d9fea79171ee ('net/mlx5: Add tracepoints')\nSigned-off-by: Matan Barak <matanb@mellanox.com>\nReviewed-by: Or Gerlitz <ogerlitz@mellanox.com>\nSigned-off-by: Saeed Mahameed <saeedm@mellanox.com>\n---\n drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h b/drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h\nindex 1e3a6c3e4132..80eef4163f52 100644\n--- a/drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h\n+++ b/drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h\n@@ -139,7 +139,7 @@ TRACE_EVENT(mlx5_fs_del_fg,\n \t{MLX5_FLOW_CONTEXT_ACTION_FWD_NEXT_PRIO, \"NEXT_PRIO\"}\n \n TRACE_EVENT(mlx5_fs_set_fte,\n-\t TP_PROTO(const struct fs_fte *fte, bool new_fte),\n+\t TP_PROTO(const struct fs_fte *fte, int new_fte),\n \t TP_ARGS(fte, new_fte),\n \t TP_STRUCT__entry(\n \t\t__field(const struct fs_fte *, fte)\n@@ -149,7 +149,7 @@ TRACE_EVENT(mlx5_fs_set_fte,\n \t\t__field(u32, action)\n \t\t__field(u32, flow_tag)\n \t\t__field(u8, mask_enable)\n-\t\t__field(bool, new_fte)\n+\t\t__field(int, new_fte)\n \t\t__array(u32, mask_outer, MLX5_ST_SZ_DW(fte_match_set_lyr_2_4))\n \t\t__array(u32, mask_inner, MLX5_ST_SZ_DW(fte_match_set_lyr_2_4))\n \t\t__array(u32, mask_misc, MLX5_ST_SZ_DW(fte_match_set_misc))\n", "prefixes": [ "net", "10/11" ] }