Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/761842/?format=api
{ "id": 761842, "url": "http://patchwork.ozlabs.org/api/patches/761842/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20170512183810.26185-4-anthony.l.nguyen@intel.com/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api", "name": "Intel Wired Ethernet development", "link_name": "intel-wired-lan", "list_id": "intel-wired-lan.osuosl.org", "list_email": "intel-wired-lan@osuosl.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170512183810.26185-4-anthony.l.nguyen@intel.com>", "list_archive_url": null, "date": "2017-05-12T18:38:10", "name": "[4/4] ixgbevf: Resolve warnings for -Wimplicit-fallthrough", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "87a1174b008e6f37b189de6b53c4cc0fa527c5de", "submitter": { "id": 68875, "url": "http://patchwork.ozlabs.org/api/people/68875/?format=api", "name": "Tony Nguyen", "email": "anthony.l.nguyen@intel.com" }, "delegate": { "id": 68, "url": "http://patchwork.ozlabs.org/api/users/68/?format=api", "username": "jtkirshe", "first_name": "Jeff", "last_name": "Kirsher", "email": "jeffrey.t.kirsher@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20170512183810.26185-4-anthony.l.nguyen@intel.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/761842/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/761842/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Received": [ "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3wPgTw0FK8z9s7g\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 13 May 2017 05:47:00 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 96038976BF;\n\tFri, 12 May 2017 19:46:58 +0000 (UTC)", "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id IksSNgdSNW0B; Fri, 12 May 2017 19:46:58 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id E8ACF976B8;\n\tFri, 12 May 2017 19:46:57 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 961AB1C0ACA\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 12 May 2017 19:46:55 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 8568392C2F\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 12 May 2017 19:46:55 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id lFdlIUR+zXYG for <intel-wired-lan@lists.osuosl.org>;\n\tFri, 12 May 2017 19:46:54 +0000 (UTC)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 3AD24926D1\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 12 May 2017 19:46:54 +0000 (UTC)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t12 May 2017 12:46:54 -0700", "from unknown (HELO localhost.jf.intel.com) ([10.166.152.64])\n\tby fmsmga005.fm.intel.com with ESMTP; 12 May 2017 12:46:53 -0700" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.38,330,1491289200\"; d=\"scan'208\";a=\"100834279\"", "From": "Tony Nguyen <anthony.l.nguyen@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Fri, 12 May 2017 11:38:10 -0700", "Message-Id": "<20170512183810.26185-4-anthony.l.nguyen@intel.com>", "X-Mailer": "git-send-email 2.9.3", "In-Reply-To": "<20170512183810.26185-1-anthony.l.nguyen@intel.com>", "References": "<20170512183810.26185-1-anthony.l.nguyen@intel.com>", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [PATCH 4/4] ixgbevf: Resolve warnings for\n\t-Wimplicit-fallthrough", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>", "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "Additions to gcc 7 now warn whenever a switch statement falls through\nimplicitly. This patch adds explicit fall through comments to address the\nfollowing warnings:\n\ndrivers/net/ethernet/intel/ixgbevf/vf.c: In function ‘ixgbevf_get_reta_locked’:\ndrivers/net/ethernet/intel/ixgbevf/vf.c:336:6: warning: this statement may fall through [-Wimplicit-fallthrough=]\n if (hw->mac.type < ixgbe_mac_X550_vf)\n ^\ndrivers/net/ethernet/intel/ixgbevf/vf.c:338:2: note: here\n default:\n ^~~~~~~\ndrivers/net/ethernet/intel/ixgbevf/vf.c: In function ‘ixgbevf_get_rss_key_locked’:\ndrivers/net/ethernet/intel/ixgbevf/vf.c:402:6: warning: this statement may fall through [-Wimplicit-fallthrough=]\n if (hw->mac.type < ixgbe_mac_X550_vf)\n ^\ndrivers/net/ethernet/intel/ixgbevf/vf.c:404:2: note: here\n default:\n ^~~~~~~\n\nSigned-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>\n---\n drivers/net/ethernet/intel/ixgbevf/vf.c | 2 ++\n 1 file changed, 2 insertions(+)", "diff": "diff --git a/drivers/net/ethernet/intel/ixgbevf/vf.c b/drivers/net/ethernet/intel/ixgbevf/vf.c\nindex b6d0c01..0c25006 100644\n--- a/drivers/net/ethernet/intel/ixgbevf/vf.c\n+++ b/drivers/net/ethernet/intel/ixgbevf/vf.c\n@@ -335,6 +335,7 @@ int ixgbevf_get_reta_locked(struct ixgbe_hw *hw, u32 *reta, int num_rx_queues)\n \tcase ixgbe_mbox_api_12:\n \t\tif (hw->mac.type < ixgbe_mac_X550_vf)\n \t\t\tbreak;\n+\t\t/* fall through */\n \tdefault:\n \t\treturn -EOPNOTSUPP;\n \t}\n@@ -401,6 +402,7 @@ int ixgbevf_get_rss_key_locked(struct ixgbe_hw *hw, u8 *rss_key)\n \tcase ixgbe_mbox_api_12:\n \t\tif (hw->mac.type < ixgbe_mac_X550_vf)\n \t\t\tbreak;\n+\t\t/* fall through */\n \tdefault:\n \t\treturn -EOPNOTSUPP;\n \t}\n", "prefixes": [ "4/4" ] }